Xceed Words for .NET v3.0 Documentation
InsertDocProperty Method


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

Reference

Paragraph Class
Paragraph Members