CAPicture::ToFile

Revision as of 00:22, 2 June 2017 by Lchrisman (talk | contribs) (Created page with "Category:ADE User Guide ADE User Guide > ADE Server Class Reference > CAPicture <languages /> <translate> = bool ToFile(fileName, mimeType) = == Description...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.