Barcode .Net Class Library

BarcodeDrawFlags Enumeration

Specifies the drawing flags to use when drawing the barcode.
This enumeration allows a bitwise combination of its member values.

[Visual Basic]
Public Enum BarcodeDrawFlags

[C#]
public enum BarcodeDrawFlags

Members

Member Name Description
Left Align the barcode to the left edge of the target rectangle.
Right Align the barcode to the right edge of the target rectangle.
Center Horizontally center the barcode in the target rectangle.
NoDrawBackground Do not draw the background.
UniBarHeight Draw all the barcode bars to the same length.
HideMainText Do not draw the caption of the main barcode.
HideAddOnText Do not draw the caption of the add-on barcode.
AddOnTextAtTop Draw the add-on barcode caption above the add-on barcode.
AddOnTextAtBottom Draw the add-on barcode caption below the add-on barcode.
MainTextAtTop Draw the main barcode caption above the main barcode.
MainTextAtBottom Draw the main barcode caption below the main barcode.
NoUpcSmallFont Do not use a smaller font to draw the first and last characters of a UPC barcode caption.
RetainAspectRatio Adjust proportionally the barcode height when the barcode width is changed due to pixel alignment.
Top Align the barcode to the top edge of the target rectangle.
Bottom Align the barcode to the bottom edge of the target rectangle.
Middle Vertically center the barcode in the target rectangle.
CalculateSizeOnly Do not actually draw the barcode; calculate the barcode position and size only.
NotPixelAligned Draw the barcode exactly to the specified size, ignoring the proportions between the barcode bars/spaces. The barcode may fail to scan!
NoStretchText Do not stretch the barcode caption to fit the full width of the barcode:
ShowCode39StartStop Use a "*" to start and end the caption of a Code 39 barcode
Clip Clip the barcode to the target rectangle.
PaintWholeRect Paint the background of the entire target rectangle even if the actual barcode will only take up part of it.
DrawTextOnly Draw only the barcode data, not the barcode.
DrawBackgroundOnly Draw only the background, not the barcode.
WidthPerModule Indicates that the width parameter specifies the width of the thinnest barcode bar rather than that of the entire barcode.
NoRestoreGraphicsState Do not restore the state of the Graphics object after drawing.

See Also

Draw (1) | Draw (2) | Draw (3)


© 2002 Bokai Corporation. All rights reserved.