CreateColumn Method of the TableBlockDefinition Object

This method creates a column in the table block of a Document Definition at the specified coordinate.

Note: For a column to be created, there must be no other column at the specified coordinate.

Syntax

Visual Basic .NET

Function CreateColumn( _
  X    As Integer, _
  Type As BlockTypeEnum _
) As BlockDefinition
    

C++

HRESULT CreateColumn(
  int                X,
  BlockTypeEnum      Type,
  IBlockDefinition** result
);
    

Parameters

X
[in] This variable contains the value of the X-coordinate at which the column will be added. The coordinate must be greater than the coordinate of the left border of the existing right column and less than the coordinate of the right border of the existing left column.
Type
[in] This variable specifies the block type. See the descriptions of the BlockTypeEnum constants.
Note: The column being created can be of the following block types: text, barcode, checkmark, picture (the BT_Text, BT_Barcode, BT_Checkmark, BT_Picture constants of the BlockTypeEnum).
result
[out, retval] A pointer to the IBlockDefinition* variable that receives the interface pointer for the added column.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

TableBlockDefinition

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.