ASP Painter
Home
Home
Samples
Samples
Purchase
Purchase
Download
Download
Documentation
Documentation


ASPPainter SetFormat

SetFormat Statement:

Set image format (PNG, Jpeg, BMP, GIF, TIFF)

Object.SetFormat format

Parameters:

format-has integer type. Possible values: [0-4].

Sample:
object.SetFormat 0 'PNG

object.SetFormat 1 'JPEG

object.SetFormat 2 'BMP

object.SetFormat 3 'GIF

object.SetFormat 4 'TIFF

This method sets the format for saving images. Be default image format is PNG. The format is used in the following methods: SaveToFile, SaveToStream, SaveToDatabase and SaveToVariant.
See also

 LoadFile, SaveToFile, LoadStream, SaveToStream, LoadDatabase,SaveToVariant, SaveToDatabase, SetFormat

More samples:


Load file
Load BMP, Load GIF, Load Jpeg, Load PNG, Load Tiff 



home samples purchase documentation download