Difference between revisions of "CAPicture::ToFile"

(Created page with "Category:ADE User Guide ADE User Guide > ADE Server Class Reference > CAPicture <languages /> <translate> = bool ToFile(fileName, mimeType) = == Description...")
 
(No difference)

Latest revision as of 00:22, 2 June 2017

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


You are not allowed to post comments.