API Reference > OdDb Classes > OdDbPaperOrientationPE Class > OdDbPaperOrientationPE Methods > OdDbPaperOrientationPE::setPaperOrientation Method
OdDbPaperOrientationPE::setPaperOrientation Method
Syntax
C++
virtual OdResult setPaperOrientation(OdDbObject* pObject, const bool bPaperOrientation) = 0;
Parameters 
Description 
OdDbObject* pObject 
[in] Pointer to the object that supports the paper orientation property.  
const bool bPaperOrientation 
[in] Value of the paper orientation property. 

Returns eOk if successful, or an appropriate error code if not.

Sets the paper orientation property of a specified object. 

 

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