NevronOpenVision
Nevron.Nov.Text Namespace / NDocumentBlock Class / NDocumentBlock Constructor / NDocumentBlock Constructor(Boolean,Boolean)
Determines whether to add the predefined styles to the document block or not.
Specifies whether to add default document styles to this document, i.e. styles that are applied to all paragraphs, inlines and tables in the document. The names of these styles are null and that is why they get applied to all elements of the specific type.
In This Topic
    NDocumentBlock Constructor(Boolean,Boolean)
    In This Topic
    Creates a new document block.
    Syntax
    public NDocumentBlock( 
       System.bool addPredefinedStyles,
       System.bool addDefaultDocumentStyles
    )

    Parameters

    addPredefinedStyles
    Determines whether to add the predefined styles to the document block or not.
    addDefaultDocumentStyles
    Specifies whether to add default document styles to this document, i.e. styles that are applied to all paragraphs, inlines and tables in the document. The names of these styles are null and that is why they get applied to all elements of the specific type.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also