BlockTypeEnum

BlockTypeEnum enumeration constants are used to describe the type of a block.

typedef enum {
 BT_Text,
 BT_RasterPicture,
 BT_Table,
 BT_Barcode,
 BT_Checkmark,
 BT_CheckmarkGroup,
 BT_VectorPicture,
 BT_Separator,
 BT_SeparatorGroup
} BlockTypeEnum;
    

Elements

Name Description
BT_Barcode Barcode block. It corresponds to an image zone recognized as barcode. Additional properties of the blocks of this type are accessible via the BarcodeBlock object.
BT_Checkmark Checkmark block. It corresponds to an image zone recognized as checkmark. Additional properties of the blocks of this type are accessible via the CheckmarkBlock object.
BT_CheckmarkGroup Checkmarks group block. It corresponds to an image zone recognized as checkmarks group. Additional properties of the blocks of this type are accessible via the CheckmarkGroup object.
BT_RasterPicture Raster picture block. The part of the image that this block encloses is not recognized, and the block is exported "as is." Properties of this block type are represented by the RasterPictureBlock object.
BT_Separator Separator block. Separators are lines on an image. They may be parts of a table, lines that separate different text elements, etc. Additional properties of the blocks of this type are accessible via the SeparatorBlock object.
BT_SeparatorGroup Separators group block. It corresponds to an image zone recognized as a group of separators. A group of separators usually includes four separators which form a rectangle. For example, four lines of a table border is recognized as a separators group. Additional properties of the blocks of this type are accessible via the SeparatorGroup object.
BT_Table Table block. It corresponds to an image zone recognized as table. A table region may only be rectangular. Additional properties of the blocks of this type are accessible via the TableBlock object.
BT_Text Text block. It corresponds to an image zone recognized as formatted text. Additional properties of the blocks of this type are accessible via the TextBlock object.
BT_VectorPicture Vector picture block. Blocks of this type may appear in the layout only if a page has been analyzed with the IPageAnalysisParams::DetectVectorGraphics property set to TRUE. Usually, background pictures are recognized as the blocks of this type. Additional properties of the blocks of this type are accessible via the VectorPictureBlock object.

Used in

IBlock::Type

ILayoutBlocks::AddNew

7/3/2024 8:50:10 AM

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.