API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdImage Class > OdImage Methods > OdImage::setSize Method
OdImage::setSize Method
Syntax
C++
void setSize(const OdInt32 width, const OdInt32 height);
Parameters 
Description 
const OdInt32 width 
[in] A width value in pixels.  
const OdInt32 height 
[in] A height value in pixels. 

Sets the image size in pixels. 

 

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