SortingBlocksParams Object (ISortingBlocksParams Interface)

This object is used for setting up the parameters of combining the blocks of data into groups.

The SortingBlocksParams object is a persistent object. This means that the object's current state can be written to persistent storage on disk. Later, the object can be re-created by reading the object's state from persistent storage. The following methods provide persistence of the object: SaveToFile, and LoadFromFile.

Properties

Name Type Description
Gap int

Specifies the size of the gap between blocks. The blocks will be grouped together if the gap between them is not larger than the value of this property.

This property is 0 by default.

GapMeasurementUnit GapMeasurementUnitEnum

Specifies the measurement unit of the gap between the blocks.

This property is GMU_PercentOfMinimumFontSize by default.

Methods

Name Description
CopyFrom Initializes properties of the current object with values of similar properties of another object.
LoadFromFile Restores the object contents from a file on disk.
SaveToFile Saves the object contents into a file on disk.

Input parameter

This object is passed as an input parameter to the SortedBlocks property of the Layout object.

Output parameter

This object is the output parameter of the CreateSortingBlocksParams method of the Engine object.

See also

Layout
Working with Properties

27.04.2022 8:30:37

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.