CAPicture::ToFile

This page contains changes which are not marked for translation.

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.