It contains fields to specify the parameters (e.g. position, size, etc.) for the barcode symbol. It is defined in the pBarcode2D unit.
type
{ Defined in the pBarcode2D unit }
TUserWorkArea = record
WCanvas: TCanvas;
WBarcode: string;
WBarColor: TColor;
WSpaceColor: TColor;
WModule: Integer;
WLeftInPixels: Integer;
WTopInPixels: Integer;
WAngle: Integer;
WShowQuietZone: Boolean;
WMirror: Boolean;
WAnsiBarcode: AnsiString;
WBarcodeLength: Integer;
WQuietZoneWidthInModules_Left: Integer;
WQuietZoneWidthInModules_Top: Integer;
WQuietZoneWidthInModules_Right: Integer;
WQuietZoneWidthInModules_Bottom: Integer;
WSymbolZoneWidthInModules: Integer;
WSymbolZoneHeightInModules: Integer;
WTotalWidthInPixels: Integer;
WTotalHeightInPixels: Integer;
WSymbolZoneOffsetInPixels_Left: Integer;
WSymbolZoneOffsetInPixels_Top: Integer;
WAlpha: Double;
WOrigin: TPoint;
WDensityRate: Double;
end;
WCanvas: TCanvas; The target canvas that the barcode symbol will be represented on it.
WBarcode: string; The barcode text which will be encoded to the barcode symbol.
If you use the Barcode property, or use Draw, Size, DrawTo (Syntax 1), DrawToSize (Syntax 1), Print (Syntax 1), or PrintSize (Syntax 1) method, It's equal to the value of Barcode property.
If you use the DrawTo (Syntax 2), DrawToSize (Syntax 2), Print (Syntax 2), or PrintSize (Syntax 2) method, it is equal to their Barcode parameter value.
For Delphi/C++ Builder 2009 or later, if you use the Data property, or use DrawTo (Syntax 3), DrawToSize (Syntax 3), Print (Syntax 3), and PrintSize (Syntax 3) methods, it's an empty string.
WBarColor: TColor; It's the color used by all bars (Stacked 2D barcode symbology and Linear 1D barcode symbology) or dark modules (Matrix 2D barcode symbology) in the barcode symbol.
WSpaceColor: TColor; It's the color used by all spaces (Stacked 2D barcode symbology and Linear 1D barcode symbology) or light modules (Matrix 2D barcode symbology) in the barcode symbol. Also the leading, trailing, top, and bottom quiet zones are represented using the color too.
WModule: Integer; It's the module size in pixels (Draw, DrawTo) or dots (Print). See also the "Module" property.
WLeftInPixels: Integer; It's the margin between the barcode symbol and the left side of the canvas in pixels (Draw, DrawTo) or dots (Print). If the quiet zones are represented, they are included in the barcode symbol. See also the "LeftMargin" property.
WTopInPixels: Integer; It's the margin between the barcode symbol and the top side of the canvas in pixels (Draw, DrawTo) or dots (Print). If the quiet zones are represented, they are included in the barcode symbol. See also the "TopMargin" property.
WAngle: Integer; It's the angle to rotate the barcode symbol anticlockwise, in degrees.
WShowQuietZone: Boolean; Denotes whether the leading, trailing, top and bottom quiet zones are represented. See also the "ShowQuietZone" property.
WMirror: Boolean; Denotes whether the barcode symbol is reversed right to left (horizontal mirror reversal). See also the "Mirrored" property.
WAnsiBarcode: AnsiString; The barcode text which will be encoded to the barcode symbol, in AnsiString format.
If you use the Barcode property, or use Draw, Size, DrawTo (Syntax 1), DrawToSize (Syntax 1), Print (Syntax 1), or PrintSize (Syntax 1) method, it is an AnsiString converted from the Barcode property (if you used the OnEncode event function, it's equal to its Data parameter value).
If you use the DrawTo (Syntax 2), DrawToSize (Syntax 2), Print (Syntax 2), or PrintSize (Syntax 2) method, it is an AnsiString converted from their Barcode parameter value (if you used the OnEncode event function, it's equal to its Data parameter value).
For Delphi/C++ Builder 2009 or later, if you use the Data property, it's equal to the value of Data property. If you use DrawTo (Syntax 3), DrawToSize (Syntax 3), Print (Syntax 3), or PrintSize (Syntax 3) method, it is equal to their Data parameter value.
WBarcodeLength: Integer; It's the length of WAnsiBarcode feild's value by character count.
WQuietZoneWidthInModules_Left: Integer; It's the width of leading quiet zone if it is represented, in modules. See also the "LeadingQuietZone" property.
WQuietZoneWidthInModules_Top: Integer; It's the height of top quiet zone if it is represented, in modules. See also the "TopQuietZone" property.
WQuietZoneWidthInModules_Right: Integer; It's the width of trailing quiet zone if it is represented, in modules. See also the "TrailingQuietZone" property.
WQuietZoneWidthInModules_Bottom: Integer; It's the height of bottom quiet zone if it is represented, in modules. See also the "BottomQuietZone" property.
WSymbolZoneWidthInModules: Integer; It's the height of entire barcode symbol before the barcode symbol is rotated, in modules. The quiet zones aren't included even if they are represented.
WSymbolZoneHeightInModules: Integer; It's the width of entire barcode symbol before the barcode symbol is rotated, in modules. The quiet zones aren't included even if they are represented.
WTotalWidthInPixels: Integer; It's the height of entire barcode symbol before the barcode symbol is rotated, in pixels (Draw, DrawTo) or dots (Print). The quiet zones are included if they are represented.
WTotalHeightInPixels: Integer; It's the width of entire barcode symbol before the barcode symbol is rotated, in pixels (Draw, DrawTo) or dots (Print). The quiet zones are included if they are represented.
WSymbolZoneOffsetInPixels_Left: Integer; It's the horizontal offset from the upper-left corner of entire barcode symbol (the quiet zones are included if they are represented) to the upper-left of the barcode symbol (the quiet zones aren't included even if they are represented) before the barcode symbol is rotated, in in pixels (Draw, DrawTo) or dots (Print).
WSymbolZoneOffsetInPixels_Top: Integer; It's the vertical offset from the upper-left corner of entire barcode symbol (the quiet zones are included if they are represented) to the upper-left of the barcode symbol (the quiet zones aren't included even if they are represented) before the barcode symbol is rotated, in in pixels (Draw, DrawTo) or dots (Print).
WAlpha: Double; It's the angle that the barcode symbol will be rotated, in radian.
WOrigin: TPoint; The coordinate of the upper-left corner of the barcode symbol after the barcode symbol is rotated, in pixels (Draw, DrawTo) or dots (Print).