Class CodeOmr
Represents an OMR code.
public class CodeOmr : BarCode
- Inheritance
-
CodeOmr
- Inherited Members
Constructors
CodeOmr(string, XSize, CodeDirection)
Initializes a new OmrCode with the given data.
public CodeOmr(string text, XSize size, CodeDirection direction)
Parameters
text
stringsize
XSizedirection
CodeDirection
Properties
MakerDistance
Gets or sets the distance of the markers.
public double MakerDistance { get; set; }
Property Value
MakerThickness
Gets or sets the thickness of the markers.
public double MakerThickness { get; set; }
Property Value
SynchronizeCode
Gets or sets a value indicating whether a synchronize mark is rendered.
public bool SynchronizeCode { get; set; }
Property Value
Methods
CheckCode(string)
Determines whether the specified string can be used as Text for the OMR code.
protected override void CheckCode(string text)
Parameters
text
string
Render(XGraphics, XBrush, XFont?, XPoint)
Renders the OMR code.
protected override void Render(XGraphics gfx, XBrush brush, XFont? font, XPoint position)