API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdDocument Class > OdDocument Methods > OdDocument::addPage Method
OdDocument::addPage Method
Syntax
C++
void addPage(const OdPagePtr& page);
Parameters 
Description 
const OdPagePtr& page 
[in] A smart pointer to the OdPage object that should be added. 

Adds a new page to the Publish SDK document.

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