API Reference > Extension Classes > ExServices Classes > OdExGiRasterImage Class > OdExGiRasterImage Methods > bitDataSize Method > OdExGiRasterImage::bitDataSize Method (OdUInt32, OdUInt32, OdUInt16)
OdExGiRasterImage::bitDataSize Method (OdUInt32, OdUInt32, OdUInt16)
Syntax
C++
static OdUInt32 bitDataSize(OdUInt32 xPixels, OdUInt32 yPixels, OdUInt16 bitsPerPixel);
Parameters 
Description 
OdUInt32 xPixels 
[in] X pixels.  
OdUInt32 yPixels 
[in] Y pixels. 
OdUInt16 bitsPerPixel 
[in] Color depth.  

Returns the size in bytes of the pixel data for a specified RasterImage object.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.