API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdImage Class > OdImage Methods > OdImage::getSize Method
OdImage::getSize Method
Syntax
C++
void getSize(OdInt32& width, OdInt32& height) const;
Parameters 
Description 
OdInt32& width 
[out] A placeholder for the width value.  
OdInt32& height 
[out] A placeholder for the height value. 

Returns the current image size (width and height in pixels). The method fills the passed integer values representing width and height of the image and returns them to the calling subroutine. 

 

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