CAPicture::ToFile
ADE User Guide > ADE Server Class Reference > CAPicture
bool ToFile(fileName, mimeType)
Description
Writes the in-memory image in the CAPicture object to the file «filename», formatted as «mimeType».
Return value
Boolean (success)
Parameters
- fileName – string
- mimeType – string, usually one of:
"image/png"
"image/jpeg"
"image/bmp"
"image/tiff"
Usage
b = pict.ToFile( "C:\data\myPicture.png","image/png" )
See Also
Comments
Enable comment auto-refresher