| CBCGPImage::CBCGPImage | ( | LPBYTE | lpBuffer, |
| UINT | nBufferSize, | ||
| BOOL | bScaleByDPI = FALSE, |
||
| BOOL | bAutoDestroy = TRUE |
||
| ) |
Constructor. Creates an image from a memory buffer
| lpBuffer | A pointer to a memory buffer which contains SVG, PNG or BMP image. |
| nBufferSize | Image buffer size in bytes. |
| bScaleByDPI | Specifies whether image should be automatically scaled according to current DPI. |
| bAutoDestroy | Specifies whether the copy of buffer will be created and will be destroyed automatically when this object is being destroyed. |