Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NTextBlockContent Class / NTextBlockContent Constructor / NTextBlockContent 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
    NTextBlockContent Constructor(Boolean,Boolean)
    In This Topic
    Creates a new document block.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal addPredefinedStyles As System.Boolean, _
       ByVal addDefaultDocumentStyles As System.Boolean _
    )
    'Usage
     
    
    Dim addPredefinedStyles As System.Boolean
    Dim addDefaultDocumentStyles As System.Boolean
     
    Dim instance As New NTextBlockContent(addPredefinedStyles, addDefaultDocumentStyles)
    public NTextBlockContent( 
       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