Method: Save

Save current barcode symbol in the barcode component to an image file. The barcode component is specified by the Barcode2D property.

Syntax:

function Save(FilePath: string): Integer; virtual;

Description:

The method saves the barcode symbol to an image file. The barcode symbol is defined in the barcode component that's specified by the Barcode2D property. Also, the TImage component isn't required in the Image property of the barcode component.

An OnSave event will occur before save the barcode symbol to picture file. And an OnSaved event will occur after the barcode symbol is saved.

Parameters:
Return:

This method can return one of these values (these consts are defined in the pfmxSave2D unit):

Contents