PdfContentMarkProperties Class
Represents a property list associated with a PdfContentMark.
Use GetDictionary(PdfObject) on the PdfContentMarkProperties to get the underlying PdfDictionary that contains the actual properties.
public sealed class PdfContentMarkProperties : PdfContentResource
Public NotInheritable Class PdfContentMarkProperties
Inherits PdfContentResource
- Inheritance:
- System.ObjectPdfContentMarkProperties
Methods
FromDictionary(PdfDictionary)
Gets or creates a PdfContentMarkProperties from the specified PdfDictionary that represents a property list as specified in PDF Specification ISO 32000-1:2008, section '14.6.2 Property Lists'.
public static PdfContentMarkProperties FromDictionary(PdfDictionary dictionary)
Public Shared Function FromDictionary(dictionary As PdfDictionary) As PdfContentMarkProperties
Parameters
dictionary
- PdfDictionary
A PdfDictionary that represents a property list as specified in PDF Specification ISO 32000-1:2008, section '14.6.2 Property Lists'.
Returns
An instance of a PdfContentMarkProperties.
Remarks
If PdfContentMarkProperties was already created from the same dictionary
, that PdfContentMarkProperties instance is returned.
This method provides a way to create various PdfContentMarkProperties which are currently not available in GemBox.Pdf.
Exceptions
- System.ArgumentNullException
dictionary
is null.
Inherited Properties
Document | Gets the PdfDocument associated with this PdfContentResource or null if no PdfDocument is associated with this PdfContentResource. (Inherited from PdfContentResource) |
Metadata | (Optional; PDF 1.4) A metadata stream containing metadata for the component. (Inherited from PdfObject) |