API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdDocument Class > OdDocument Methods > OdDocument::getPages Method
OdDocument::getPages Method
Syntax
C++
void getPages(OdPagePtrArray& pages) const;
Parameters 
Description 
OdPagePtrArray& pages 
[out] A placeholder for the document pages array. 

Returns the array of pages that the Publish SDK document contains. This method fills the passed array with the OdPage object that represents the document pages and returns it to a calling subroutine. 

 

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