API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdTable Class > OdTable Methods > OdTable::getButton Method
OdTable::getButton Method
Syntax
C++
void getButton(const OdUInt32 row, const OdUInt32 column, OdButtonPtr& button) const;
Parameters 
Description 
const OdUInt32 row 
[in] A table row index. Can accept values from 0 to the table row quantity - 1.  
const OdUInt32 column 
[in] A table column index. Can accept values from 0 to the table column quantity - 1.  
OdButtonPtr& button 
[out] A placeholder for a smart pointer to the button object.
 

Returns a smart pointer to the button contained in the table cell. If the cell does not contain a button, a null pointer is returned.

Returns a button contained in a specified table cell. The table cell is addressed through row and column indices. The method fills a passed smart pointer with a pointer to the button object and returns it to a calling subroutine. 

 

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