SeparatorBlock Object (ISeparatorBlock Interface)
This object provides access to specific properties of a separator block. The ISeparatorBlock interface is derived from the IBlock interface and inherits all its properties.
Separator is a line on an image. Separators are detected during page layout analysis and are used during export to reconstruct the initial page layout. They may be parts of a table, lines that separate different text elements, etc. This object allows you to get different separator geometrical properties together with its type and direction. The meaning of the properties is described by the picture:
If the line is skewed, it is analyzed as several separator blocks (vertical or horizontal). The examples of vertical and horizontal separators are presented below:
Properties
Name | Type | Description |
---|---|---|
EndPointX | int | Stores the horizontal coordinate of the end point of separator. |
EndPointY | int | Stores the vertical coordinate of the end point of separator. |
PreciseWidth | int | Stores the precise width of the separator in pixels. |
SeparatorType | SeparatorTypeEnum | Stores the type of the separator. |
StartPointX | int | Stores the horizontal coordinate of the start point of separator. |
StartPointY | int | Stores the vertical coordinate of the start point of separator. |
Methods
Name | Description |
---|---|
CopyFrom | Initializes the properties of the current object with the values of similar properties of another object. |
Related objects
Output parameter
This object is the output parameter of the following methods:
- GetAsSeparatorBlock method of the Block object
- Item, AddNew methods of the SeparatorGroup object
See also
7/3/2024 8:50:25 AM