ImageGear PDF v25.1 - Updated
Captions Property




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > PushButton Class : Captions Property
Gets or sets the captions that are displayed on each push button widget annotation.
Syntax
'Declaration
 
Public Property Captions As String()
'Usage
 
Dim instance As PushButton
Dim value() As String
 
instance.Captions = value
 
value = instance.Captions
public string[] Captions {get; set;}
public: __property string*[]* get_Captions();
public: __property void set_Captions( 
   string*[][]* value
);
public:
property array<String^>^ Captions {
   array<String^>^ get();
   void set (    array<String^>^ value);
}

Property Value

An array of text strings.
Remarks
When setting captions, if a list with more captions than applicable to the button is supplied, the extra captions are ignored. If too few captions are supplied, the widgets without supplied captions are not updated.
See Also

Reference

PushButton Class
PushButton Members