ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Objects > IGPage Object > IGPage Methods > PlatformDIBExportSizeCalc Method |
Returns the size of a DIB (in bytes) that would be exported by PlatformDIBExport Method if the same parameters were used. You can use this to allocate your own storage for the DIB, but this is not required as the IGPlatformDIB Object can automatically allocate and free a buffer for the DIB.
PlatformDIBExportSizeCalc(
Format as enumIGDIBExportFormats,
UseAlpha as Boolean,
Left as Long,
Top as Long,
Width as Long,
Height as Long) as Long
Name | Description |
---|---|
Format |
|
UseAlpha | If the image contains an alpha channel, and this is set to True, the alpha channel will be blended into the color channel(s) during export. |
Left | X coordinate of starting point for region to export. |
Top | Y coordinate of starting point for region to export. |
Width | Width of region to export. Specify 0 to export entire region. |
Height | Height of region to export. Specify 0 to export entire region. |
Returns number of bytes needed to store exported DIB using given parameters.
N/A
None