Click or drag to resize

SegmentedTextTranslatorBlockDetectionDistance Property

Gets or sets the block intersection distance counted in average glyph size for that block.

Namespace:  Atalasoft.Imaging.WebControls.Text
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: (.NET 4.5.2, x86)
public SizeF BlockDetectionDistance { get; set; }

Property Value

Type: SizeF
Block detection differs for different document layouts - smaller blocks detection distance could create unnecessary segmentation while bigger could join unrelated blocks of text into single region. This property could be used to adjust block detection distance for particular text document if needed. Block detection distance is specified in amount of the average glyph size in vertical and horizontal directions to reflect font differences. Default values are 3 characters for horizontal direction and 1.5 for vertical.
See Also