DrawGS1DataBarEx

Barcodes

Description

Draws a GS1 DataBar barcode with an explicit variant selector, the route used by the DLL and ActiveX DrawGS1DataBar methods

Syntax

Delphi

Function TPDFlib.DrawGS1DataBarEx(Left, Top, Width, Height: Double;
  Const Text: WideString; Variant, Options: Integer): Integer;

Parameters

Left, Top, Width, HeightThe barcode rectangle in the current measurement units
TextThe GS1 data
VariantOnly 0, the Omnidirectional variant, is supported
OptionsOptions passed to DrawGS1DataBar

Return values

Returns the DrawGS1DataBar result for variant 0; any other variant returns 0 with LastErrorCode 301

See also

DrawGS1DataBar, Automation extensions