Occurs after save the barcode symbol to an image file, when the Save method is called.
type
{ Defined in the pfmxSave2D unit }
TOnSaved = procedure (Sender: TComponent; FilePath: string; ErrorCode: Integer) of object;
property OnSaved: TOnSaved;
Sender: TObject; It is the object whose event handler is called.
FilePath: string; The file path and name of the image file that you want to save the barcode symbol to.
ErrorCode: Integer; Return the error status code of the saving operation. The Save method will return the error code value too. It can be one of these value (these consts are defined in the pfmxSave2D unit):
ERROR_OK (0): The saving operation succeeded.
ERROR_NO_BARCODE_COMPONENT (1): The saving operation failed because the Barcode2D property is not link to a barcode component.
ERROR_INVALID_BARCODE (2): The saving operation failed, because the length of Barcode or Data property value is invalid in the barcode component, corresponding to the OnInvalidLength or OnInvalidDatalength event of barcode component will occur. Or because there is any invalid character in the Barcode or Data property value, corresponding to the OnInvalidChar or OnInvalidDataChar event of barcode component will occur.
ERROR_WRITE_PICTURE (3): The saving operation failed because of a picture file write error. Perhaps the file system fulls, or the access is denied.
ERROR_UNKNOWN (4): The saving operation failed because of othe error.