Barcode.Draw

Barcode

Draw(Graphics)

void TECIT.TBarCode.Barcode.Draw(Graphics gfx)

Draws the barcode into graphics context.

The size of the barcode is determined by the BoundingRectangle property.

Parameters

Parameter / typeDescription
gfx Graphics

The graphics object.

Draw(ImageType)

string TECIT.TBarCode.Barcode.Draw(ImageType imageType)

Gets a string with the PCL, Postscript, PDF, AI or SVG drawing of the barcode.

Parameters

Parameter / typeDescription
imageType ImageType

Type of the image - only Vector formats (PCL, Postscript, PDF, AI and SVG) are supported.

Returns

A string with the PCL, Postscript, PDF, AI or SVG drawing of the barcode.

Draw(string, ImageType)

void TECIT.TBarCode.Barcode.Draw(string filename, ImageType imageType)

Draws the barcode to file.

The size of the barcode is determined by the BoundingRectangle property.

A file extension according to selected image type is appended automatically if the file name does not already end with a safe file extension. Safe file extensions are ".ai", ".bmp", ".emf", ".eps", ".gif", ".jpg", ".jpeg", ".pcl", ".pcx", ".pdf", ".png", ".svg", ".tif", and ".tmp".

Parameters

Parameter / typeDescription
filename string

The filename.

imageType ImageType

Type of the image.

Draw(string, ImageType, Graphics)

void TECIT.TBarCode.Barcode.Draw(string filename, ImageType imageType, Graphics gfx)

Draws the barcode to file with respect to a given graphics context.

The size of the barcode is determined by the BoundingRectangle property.

A file extension according to selected image type is appended automatically if the file name does not already end with a safe file extension. Safe file extensions are ".ai", ".bmp", ".emf", ".eps", ".gif", ".jpg", ".jpeg", ".pcl", ".pcx", ".pdf", ".png", ".svg", ".tif", and ".tmp".

Parameters

Parameter / typeDescription
filename string

The filename.

imageType ImageType

Type of the image.

gfx Graphics

The graphics context. This value is ignored for Vector files (Postscript, PDF, AI, SVG, PCL).

Draw(string, ImageType, Graphics, int)

void TECIT.TBarCode.Barcode.Draw(string filename, ImageType imageType, Graphics gfx, int quality)

Draws the barcode to file with respect to a given graphics context.

The size of the barcode is determined by the BoundingRectangle property.

A file extension according to selected image type is appended automatically if the file name does not already end with a safe file extension. Safe file extensions are ".ai", ".bmp", ".emf", ".eps", ".gif", ".jpg", ".jpeg", ".pcl", ".pcx", ".pdf", ".png", ".svg", ".tif", and ".tmp".

Parameters

Parameter / typeDescription
filename string

The filename.

imageType ImageType

Type of the image.

gfx Graphics

The graphics context. This value is ignored for Vector files (Postscript, PDF, AI, SVG, PCL).

quality int

The quality (determines the used compression algorithm). This value is ignored for Vector files (Postscript, PDF, AI, SVG, PCL).

Draw(string, ImageType, int)

void TECIT.TBarCode.Barcode.Draw(string filename, ImageType imageType, int quality)

Draws the barcode to file.

The size of the barcode is determined by the BoundingRectangle property.

A file extension according to selected image type is appended automatically if the file name does not already end with a safe file extension. Safe file extensions are ".ai", ".bmp", ".emf", ".eps", ".gif", ".jpg", ".jpeg", ".pcl", ".pcx", ".pdf", ".png", ".svg", ".tif", and ".tmp".

Parameters

Parameter / typeDescription
filename string

The filename.

imageType ImageType

Type of the image.

quality int

The quality (determines the used compression algorithm). This value is ignored for Vector files (Postscript, PDF, AI, SVG, PCL).

Search documentation

Search in
More scopes
Additional scopes

All contents