OCX: Methods

Methods of the Control

Name Parameter Description
CopyToClipboard : bool Copies the barcode in meta graphic format to the clipboard. Returns TRUE if successful.
CopyToClipboardBySize (Width: Integer, Height: Integer): Bool Copies the barcode in meta graphic format to the clipboard. The size of the barcode is specified by the arguments width and height. Returns TRUE if successful.
CreatePictureBySize (Width: Integer, Height: Integer): Bool Allows a custom sized Picture property to be handled. The size of the barcode picture is specified by the arguments width and height. Returns TRUE if successful.
SaveAs (path: WideString): Smallint Saves the current barcode as image file (BMP, JPEG, PNG, TIFF, Targa, GIF, WMF, EMF, PBM, PGM, PPM, WBMP and XPM). The image size is the current size of the control. The image file type used is defined by the extension of the file name (e.g. BMP for a Windows Bitmap).
SaveAsBySize (path: WideString, Width: Integer, Height: Integer): Smallint Saves the current barcode as image file (BMP, JPEG, PNG, TIFF, Targa, GIF, WMF, EMF, PBM, PGM, PPM, WBMP and XPM). The image size is specified by the parameters width and height. The image file type used is defined by the extension of the file name (e.g. BMP for a Windows Bitmap).
SaveAsBySizeExtended (path: WideString, Width: Integer, Height: Integer, Format: Integer, ColorDepth: Integer, Transparent: Integer, Flags: Integer, Angle: Integer, DPI: Integer): Smallint Extended version of the SaveAsBySize Method.
SetDemoText - Sets the property Text to a valid default value. Use this for demonstration or test purposes to get a valid code.
BinaryWriteAsPNGBySize (Width: Integer, Height: Integer): OleVariant Returns the current barcode in binary PNG image format. The size is specified by Width and Height parameters. This method is only available in the Enterprise Edition.
BinaryWriteAsPNG : OleVariant Returns the current barcode in current size binary PNG image format. This method is only available in the Enterprise Edition.
AboutBox - Opens the info dialog of ActiveBarcode and shows Version and other details.
SaveAsPNG (path: WideString): Smallint Saves the current barcode as PNG image file. The image size is the current size of the control.
SaveAsPNGBySize (path: WideString, Width: Integer, Height: Integer): Smallint Saves the current barcode as PNG image file. The image size is specified by the paramters width and height.



rss twitter Bookmark and Share
| Home | Shop | Email | Datenschutz | Sitemap | Print preview | Version 5.57 | © Lars Schenk & Frank Horn

All trademarks and product names mentioned are the property of their respective owners.