GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfContentMarkProperties Class

    Namespace:
    GemBox.Pdf.Content.Marked
    Assembly:
    GemBox.Pdf.dll

    Represents a property list associated with a PdfContentMark.

    Use GetDictionary(PdfObject) on the PdfContentMarkProperties to get the underlying PdfDictionary that contains the actual properties.

    • C#
    • VB.NET
    public sealed class PdfContentMarkProperties : PdfContentResource
    Public NotInheritable Class PdfContentMarkProperties
        Inherits PdfContentResource
    Inheritance:
    System.Object
    PdfObject
    PdfContentResource
    PdfContentMarkProperties

    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'.

    • C#
    • VB.NET
    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
    PdfContentMarkProperties

    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)

    Extension Methods

    PdfObjectExtensions.GetDictionary(PdfObject)
    PdfObjectExtensions.GetOrAddDictionary(PdfObject)
    PdfObjectExtensions.GetArray(PdfObject)

    Examples

    Marked Content example

    See Also

    PDF Specification ISO 32000-1:2008, section '14.6 Marked Content'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.