C_SaveBitmapCanvas

Call C_SaveBitmapCanvas to save a bitmap canvas to an image file.

void C_SaveBitmapCanvas(

TOrcFxAPIHandle CanvasHandle,

const TBitmapCanvasSaveFormat *lpSaveFormat,

LPCTSTR lpFileName,

int *lpStatus

);

Parameters

CanvasHandle (IN)

The canvas handle obtained by calling C_CreateBitmapCanvas or C_CreateBitmapCanvasClone.

lpSaveFormat (IN)

Points to a structure that specifies the format of the file being saved.

lpFileName (IN)

Points to a null-terminated string containing the name of the file to be saved.

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

Unicode and ANSI

The Unicode function name is C_SaveBitmapCanvasW and the ANSI function name is C_SaveBitmapCanvasA.

See also

C_CreateBitmapCanvas, C_CreateBitmapCanvasClone, C_DrawModel3DViewToBitmapCanvas, C_SaveBitmapCanvasMem.