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: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public SizeF BlockDetectionDistance { get; set; }
Public Property BlockDetectionDistance As SizeF
Get
Set
Property Value
Type:
SizeFRemarks
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