TXTextControl.DocumentServer.DataSources.InsertMergeBlockSettings Constructor

Initializes a new instance of the InsertMergeBlockSettings class.

InsertMergeBlockSettings(MergeBlockInfo)

Initializes a new instance of the InsertMergeBlockSettings class.

[C#]
public InsertMergeBlockSettings(DocumentServer.DataSources.MergeBlockInfo mergeBlockInfo);
[Visual Basic]
Public Sub New(mergeBlockInfo As DocumentServer.DataSources.MergeBlockInfo)
Parameter Description
mergeBlockInfo

A MergeBlockInfo object which describes the merge block to insert into the TextControl instance.

InsertMergeBlockSettings(MergeBlockInfo, BlockTemplateType)

Initializes a new instance of the InsertMergeBlockSettings class.

[C#]
public InsertMergeBlockSettings(
   DocumentServer.DataSources.MergeBlockInfo mergeBlockInfo,
   DocumentServer.DataSources.BlockTemplateType blockTemplateType);
[Visual Basic]
Public Sub New( _
   mergeBlockInfo As DocumentServer.DataSources.MergeBlockInfo, _
   blockTemplateType As DocumentServer.DataSources.BlockTemplateType)
Parameter Description
mergeBlockInfo

A MergeBlockInfo object which describes the merge block to insert into the TextControl instance.

blockTemplateType

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

InsertMergeBlockSettings(MergeBlockInfo, BlockTemplateType, Boolean)

Initializes a new instance of the InsertMergeBlockSettings class.

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

A MergeBlockInfo object which describes the merge block to insert into the TextControl instance.

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.

InsertMergeBlockSettings(MergeBlockInfo, BlockTemplateType, Boolean, Color, FieldDisplayMode)

Initializes a new instance of the InsertMergeBlockSettings class.

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

A MergeBlockInfo object which describes the merge block to insert into the TextControl instance.

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