API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdListBox Class > OdListBox Methods > OdListBox::getContents Method
OdListBox::getContents Method
Syntax
C++
void getContents(OdStringArray& displayed_values, OdStringArray& export_values) const;
Parameters 
Description 
OdStringArray& displayed_values 
[out] A placeholder for displayed values of the list box items.  
OdStringArray& export_values 
[out] A placeholder for exported values of the list box items. 

Returns the list box content items. The method fills passed string arrays for displaying and exporting values of the list box and returns them to a calling subroutine. 

 

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