ImageGear v26.5 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF.Forms Namespace / ChoiceOption Class / Label Property




In This Topic
    Label Property (ChoiceOption)
    In This Topic
    Gets or sets the display text for this choice. Only valid for ListBox and ComboBox choice options. For RadioGroup and CheckBox options it will always be an empty string, and setting it has has no effect.
    Syntax
    'Declaration
     
    Public Property Label As String
    'Usage
     
    Dim instance As ChoiceOption
    Dim value As String
     
    instance.Label = value
     
    value = instance.Label
    public string Label {get; set;}
    public: __property string* get_Label();
    public: __property void set_Label( 
       string* value
    );
    public:
    property String^ Label {
       String^ get();
       void set (    String^ value);
    }

    Property Value

    The text string that goes with this choice.
    See Also