TXTextControl.DocumentServer.DataSources.MergeBlockSettings Constructor

Initializes a new instance of the MergeBlockSettings class.

MergeBlockSettings()

Initializes a new instance of the MergeBlockSettings class.

[C#]
public MergeBlockSettings();
[Visual Basic]
Public Sub New()

MergeBlockSettings(BlockTemplateType)

Initializes a new instance of the MergeBlockSettings class.

[C#]
public MergeBlockSettings(DocumentServer.DataSources.BlockTemplateType blockTemplateType);
[Visual Basic]
Public Sub New(blockTemplateType As DocumentServer.DataSources.BlockTemplateType)
Parameter Description
blockTemplateType

A value of type BlockTemplateType specifying the block type. (paragraph or table row based)

MergeBlockSettings(BlockTemplateType, Boolean)

Initializes a new instance of the MergeBlockSettings class.

[C#]
public MergeBlockSettings(
   DocumentServer.DataSources.BlockTemplateType blockTemplateType,
   bool createHeaderRow);
[Visual Basic]
Public Sub New( _
   blockTemplateType As DocumentServer.DataSources.BlockTemplateType, _
   createHeaderRow As Boolean)
Parameter Description
blockTemplateType

A value of type BlockTemplateType specifying the block type. (paragraph or table row based)

createHeaderRow

If parameter blockTemplateType is set to BlockTemplateType.TableRow and this parameter is set to true, a table header row is automatically generated.

MergeBlockSettings(BlockTemplateType, Boolean, Color, FieldDisplayMode)

Initializes a new instance of the MergeBlockSettings class.

[C#]
public MergeBlockSettings(
   DocumentServer.DataSources.BlockTemplateType blockTemplateType,
   bool createHeaderRow,
   System.Drawing.Color highlightColor,
   DocumentServer.DataSources.FieldDisplayMode fieldDisplayMode);
[Visual Basic]
Public Sub New( _
   blockTemplateType As DocumentServer.DataSources.BlockTemplateType, _
   createHeaderRow As Boolean, _
   highlightColor As System.Drawing.Color, _
   fieldDisplayMode As DocumentServer.DataSources.FieldDisplayMode)
Parameter Description
blockTemplateType

A value of type BlockTemplateType specifying the block type. (paragraph or table row based)

createHeaderRow

If parameter blockTemplateType is set to BlockTemplateType.TableRow and this parameter is set to true, a table header row is automatically generated.

highlightColor

The color the merge block is highlighted with if the input position is inside the block boundaries.

fieldDisplayMode

A value of type FieldDisplayMode which specifies if field text or field codes are shown.

See Also