VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Ocr Namespace / PdfDocumentBuilder Class / AddMarkedContent Property
Syntax Remarks Requirements SeeAlso
In This Topic
    AddMarkedContent Property (PdfDocumentBuilder)
    In This Topic
    Gets or sets a value indicating whether document builder must add marked content (add structure elements) to a PDF document.
    Syntax
    'Declaration
    
    Public Property AddMarkedContent As Boolean
    
    
    public bool AddMarkedContent { get; set; }
    
    
    public: __property bool get_AddMarkedContent();
    public: __property void set_AddMarkedContent(
    bool value
    );
    public:
    property bool AddMarkedContent { bool get(); void set(bool value); }

    Property Value

    True - document builder must add marked content (add structure elements) to a PDF document; false - document builder must NOT add marked content (add structure elements) to a PDF document. Default value is false.
    Remarks

    PDF/A-1a, PDF/A-2a or PDF/A-3a documents require the structure tree with marked content.
    This property must be set to true if document builder must create PDF document that further will be converted to PDF/A-1a, PDF/A-2a or PDF/A-3a format. documents requires structure tree that contains marked content.

    The CreateStructureElement(PdfPage,OcrPage,OcrObject,PdfStructureCompositeNode,Int32) method must be overriden if algorithm that creates structure tree must be changed.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also