API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdPage Class > OdPage Methods > OdPage::getButtons Method
OdPage::getButtons Method
Syntax
C++
void getButtons(OdButtonPtrArray& buttons, OdRectArray& locations) const;
Parameters 
Description 
OdButtonPtrArray& buttons 
[out] A placeholder for the page buttons array.  
OdRectArray& locations 
[out] A placeholder for the link locations array. 

Returns all buttons that the page contains and their locations. The method fills two passed arrays with button objects and their locations, then returns these arrays to a calling subroutine. 

 

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