We use cookies to provide you with the best experience and functionality on our website. By continuing to use the site, you are agreeing to our use of cookies.   

Method: SaveAsBySizeExtended

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.

Saves the current barcode as image file.

The image size is specified by the parameters width and height.

The image file type is specified by the parameter format. Set it to -1 if you want to use the automatic file type selection by the file names extension.

The color depth is set in bit (1,8,16,24,32).

The option transparent is not implemented yet. Set it to 0 if not transparency is wanted and to -1 to set the background transparent.

Use the flags for special options.

The option angle is used to rotate the image. Set the rotation in degrees (0-359). To overrule this option with the currect setting of the rotate property set angle to -1.

Use the parameters dpi to set a specific resolution in DPI for the image file. This can be used in the image formats BMP, JPEG, TIF and PNG. (0=set no DPI value)

Here you can see a list of the supported image file types, color depths and flags.

This method supports the following image formats: Windows Bitmap (BMP), JPEG, PNG, TIFF, Targa, GIF, WMF, EMF, PBM, PGM, PPM, WBMP and XPM.

Return values of this function:
0 : File save ok. No errors.
1 : Error while saving file.
2 : Wrong colordepth for this file format
3 : Colordepth/angle combination not possible
4 : Filetype not supported
5 : Low memory
6 : Low memory
7 : Low memory




Search this site with Bing:
| Home | Shop | Download | E-Mail | Datenschutz | Imprint | Version 6.1.0 |
Web DesignszCWs 2.1.4.915
Web design & developement:
www.frank-horn.com

Copyright
Frank HornActiveBarcode Generator App
Web design
Documentation
Copyright Frank Horn
&
Lars SchenkActiveBarcode Object
Web- & server component
Command line
Copyright Lars Schenk

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