SdtListItem

Overview

SdtListItem is a class in Aspose.Words FOSS for Java. Inherits from: Cloneable.

This element specifies a single list item within a parent SdtType.COMBO_BOX or SdtType.DROP_DOWN_LIST structured document tag.

Edition status of its 5 listed members (a property and its accessor methods are listed separately, overloads once): 5 not yet exercised by a verified example.

This class declares 4 methods for SdtListItem objects in Java programs. Available methods include: SdtListItem, getDisplayText, getValue. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: displayText, value.

Properties

NameTypeAccessDescription
displayTextStringReadGets the text to display in the run content in place of the Value attribute contents for this list item.
valueStringReadGets the value of this list item.

Methods

SignatureDescription
SdtListItem(displayText: String, value: String)Initializes a new instance of this class.
SdtListItem(value: String)Initializes a new instance of this class.
getDisplayText() → StringGets the text to display in the run content in place of the Value attribute contents for this list item.
getValue() → StringGets the value of this list item.

See Also