API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdPage Class > OdPage Methods > OdPage::addButton Method
OdPage::addButton Method
Syntax
C++
void addButton(const OdButtonPtr& button, const OdRect& location);
Parameters 
Description 
const OdButtonPtr& button 
[in] A smart pointer to a button control that should be added.  
const OdRect& location 
[in] A rectangle that specifies the location of an added button control within the page. It determines where the button control will be placed on the page. 

Adds a button control to the page. 

 

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