API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdPage Class > OdPage Methods > OdPage::setPaperSize Method
OdPage::setPaperSize Method
Syntax
C++
void setPaperSize(const Page::PaperUnits units, const double width, const double height);
Parameters 
Description 
const Page::PaperUnits units 
[in] Paper size units.  
const double width 
[out] A paper width value.  
const double height 
[out] A paper height value. 

Sets a new page size. 

 

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