CogOCRMaxSegmenterFontPitchMetricConstants EnumerationCognex VisionPro
Describes the pitch of characters for OCRMax.

Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 65.1.0.0
Syntax

public enum CogOCRMaxSegmenterFontPitchMetricConstants
Members

  Member nameValueDescription
Unknown1 Unknown metric; the appropriate pitch may be any of the other pitch metrics, or else there is no consistent pitch metric (as may be the case for a proportional-pitch font).
LeftToLeft2 Measure pitch as the distance from the left side of a character's mark rectangle to the left side of the adjacent character's mark rectangle. Thus, the character's mark rectangle appears left-justified within the character's cell rectangle. Note that "left" and "right" are relative to the coordinate axis defined by the search region, i.e. right is the positive x direction.
CenterToCenter4 Measure pitch as the distance from the center of a character's mark rectangle to the center of the adjacent character's mark rectangle. Thus, the character's mark rectangle appears centered within the character's cell rectangle.
RightToRight8 Measure pitch as the distance from the right side of a character's mark rectangle to the right side of the adjacent character's mark rectangle. Thus, the character's mark rectangle appears right-justified within the character's cell rectangle. Note that "left" and "right" are relative to the coordinate axis defined by the search region, i.e. right is the positive x direction.
See Also