API Reference > Classes > PRC Base Classes > OdPrcPreviewGenerator Class > OdPrcPreviewGenerator Methods > OdPrcPreviewGenerator::setBitmapSize Method
OdPrcPreviewGenerator::setBitmapSize Method
Syntax
C++
OdResult setBitmapSize(long width, long height);
Parameters 
Description 
long width 
[in] A new value of the bitmap width to be set.  
long height 
[in] A new value of the bitmap height to be set.
 

Returns the eOk value if new width and height values were successfully set, otherwise the method returns an appropriate error code.

Sets the width and height of the bitmap preview image. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.