iText 8.0.5 API
|
Extension of the FormField
Public Member Functions |
|
Button (String id) | |
Creates a new Button instance. More... |
|
virtual iText.Forms.Form.Element.Button | Add (IBlockElement element) |
Adds any block element to the div's contents. More... |
|
virtual iText.Forms.Form.Element.Button | Add (Image element) |
Adds an image to the div's contents. More... |
|
virtual bool | IsSingleLine () |
Indicates if this element represents an input with type button in html. More... |
|
virtual iText.Forms.Form.Element.Button | SetSingleLineValue (String value) |
Sets passed string value to the single line button caption. More... |
|
override IFormField | SetValue (String value) |
Adds passed string value as paragraph to the button. More... |
|
override T1 | GetDefaultProperty< T1 > (int property) |
override AccessibilityProperties | GetAccessibilityProperties () |
Gets the accessibility properties. More... |
|
Public Member Functions inherited from iText.Forms.Form.Element.FormField< iText.Forms.Form.Element.Button > | |
virtual T | SetSize (float size) |
Sets the form field's width and height. More... |
|
virtual IFormField | SetWidth (float width) |
virtual IFormField | SetHeight (float height) |
virtual String | GetId () |
override T1 | GetDefaultProperty< T1 > (int property) |
virtual IFormField | SetInteractive (bool interactive) |
Protected Member Functions |
|
override IRenderer | MakeNewRenderer () |
Additional Inherited Members |
|
Package Attributes inherited from iText.Forms.Form.Element.FormField< iText.Forms.Form.Element.Button > | |
DefaultAccessibilityProperties | tagProperties |
The tag properties. More... |
|
Extension of the FormField
|
inline |
Creates a new Button instance.
id | the id |
|
inlinevirtual |
Adds any block element to the div's contents.
element | a iText.Layout.Element.BlockElement |
|
inlinevirtual |
Adds an image to the div's contents.
element | an iText.Layout.Element.Image |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Indicates if this element represents an input with type button in html.
|
inlineprotected |
|
inlinevirtual |
Sets passed string value to the single line button caption.
Sets passed string value to the single line button caption. Value will be clipped if it is not fit into single line. For multiple line value use SetValue(System.String) . Note that when adding other elements to the button after this method is called, this added value can be multiline.
value | string value to be set as caption. |
|
inlinevirtual |
Adds passed string value as paragraph to the button.
Adds passed string value as paragraph to the button. Value can be multiline if it is not fit into single line. For single line value use SetSingleLineValue(System.String) . Note that the new value will replace all already added elements.
value | string value to be added into button. |
Reimplemented from iText.Forms.Form.Element.FormField< iText.Forms.Form.Element.Button >.