Skip to main content
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,
 BT_AutoAnalysis,
} BlockTypeEnum;

Elements

NameDescription
BT\_AutoAnalysisAutoanalysis block. Blocks of this type are used only in Visual Components. They cannot be created and recognized via FineReader Engine API. Properties of the blocks of this type are accessible via the AutoAnalysisBlock object. <Note> Windows only. </Note>
BT\_BarcodeBarcode 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\_CheckmarkCheckmark 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\_CheckmarkGroupCheckmarks 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\_RasterPictureRaster 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\_SeparatorSeparator 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\_SeparatorGroupSeparators 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\_TableTable 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\_TextText 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\_VectorPictureVector 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