Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Paragraph Class / InsertDocProperty Method
The custom property to display.
true if this change should be tracked, otherwise false.
The formatting to use.


In This Topic
    InsertDocProperty Method
    In This Topic
    Inserts a document property field at the end of this Paragraph.
    Syntax
    'Declaration
     
    Public Function InsertDocProperty( _
       ByVal cp As CustomProperty, _
       Optional ByVal trackChanges As Boolean, _
       Optional ByVal f As Formatting _
    ) As DocProperty
    'Usage
     
    Dim instance As Paragraph
    Dim cp As CustomProperty
    Dim trackChanges As Boolean
    Dim f As Formatting
    Dim value As DocProperty
     
    value = instance.InsertDocProperty(cp, trackChanges, f)
    public DocProperty InsertDocProperty( 
       CustomProperty cp,
       bool trackChanges,
       Formatting f
    )

    Parameters

    cp
    The custom property to display.
    trackChanges
    true if this change should be tracked, otherwise false.
    f
    The formatting to use.

    Return Value

    The DocProperty that was inserted.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also