Method: PrintSize - Syntax 3

Returns actual size of a rotated barcode symbol in millimeters. The barcode symbol is specified in the parameters of this method.

Syntax:

type

{ Defined in the pCore1D unit }

TBarcodeTextDefine = record

DisplayText: TDisplayText;

TextPosition: TTextPosition;

TextAlignment: TTextAlignment;

TextFont: TFont;

ExtraFontSize: Integer;

end;

function PrintSize(var TotalWidth, TotalHeight, SymbolWidth, SymbolHeight: Double; Data: AnsiString; AutoCheckDigit: Boolean; BarcodeTextDefine: TBarcodeTextDefine; Ratio: Double; Module: Double = 0; BarcodeWidth: Double = 0; BarcodeHeight: Double = 0; Angle: Integer = 0; HDPI: Integer = 0; VDPI: Integer = 0): Integer; overload; virtual;

Description:

The method returns the actual size of a rotated barcode symbol that is specified by parameters of this method, in millimeter.

Note, if the Display field of BarcodeTextDefine parameter isn't set to dtNone, pelase use the method between Printer.BeginDoc and Printer.EndDoc methods, and the printer must be connected to your computer.

Parameters:
Return:

See diagram:

PrintSize (Syntax 3)

Note:

The overloading method is available only for the Delphi/C++ Builder 2009 or later.

Contents