API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdDropDownList Class > OdDropDownList Methods > OdDropDownList::getContents Method
OdDropDownList::getContents Method
Syntax
C++
void getContents(OdStringArray& displayed_values, OdStringArray& export_values) const;
Parameters 
Description 
OdStringArray& displayed_values 
[out] A placeholder for the array of string items to be displayed as the content of the drop-down list.  
OdStringArray& export_values 
[out] A placeholder for the array of string items to be exported as the content of the drop-down list. 

Returns the current drop-down list content. The method fills the passed string arrays with display and export items respectively and returns them to a calling subroutine. 

 

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