CGraphCtx.SaveImageAsTiffmethod
Syntax
FUNCTION SaveImageAsTiff (BYREF wszFileName AS WSTRING) AS LONG
Also documented as
SaveImage — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
wszFileName | Absolute path name of the file. | |
wszMimeType | The mime type. "image/bmp" = Bitmap (.bmp) "image/gif" = GIF (.gif) "image/jpeg" = JPEG (.jpg) "image/png" = PNG (.png) "image/tiff" = TIFF (.tiff) |
Return value
If the method succeeds, it returns Ok, which is an element of the GDI+ Status enumeration.
If the method fails, it returns one of the other elements of the GDI+ Status enumeration.
Description
Saves the image to a file.
Reference
- Include file
CGraphCtx.inc - Defined in AfxNova/CGraphCtx.inc:1142
- Documented in Graphics/CGraphCtx Class.md
- Topic: CGraphCtx Class