Aspose::Pdf::Forms::TextBoxField class

TextBoxField class

Class representing text box field.

class TextBoxField : public Aspose::Pdf::Forms::Field

Methods

MethodDescription
AddBarcode(System::String)Adds barcode 128 into the field. Field value will be changed onto the code and field become read only.
AddImage(System::SharedPtr<System::Drawing::Image>)Adds image into the field resources and draws it.
get_ForceCombs()Gets flag which indicates is field divided into spaced positions.
get_MaxLen()Gets maximum length of text in the field.
get_Multiline()Gets multiline flag of the field. If Multiline is true field can contain multiple lines of text.
get_Scrollable()Gets scrollable flag of field. If true field can be scrolled.
get_SpellCheck()Gets spellcheck flag for field. If true field shall be spell checked.
get_TextVerticalAlignment() constGets text vertical alignment for annotation.
get_Value() overrideGets value of the field.
set_ForceCombs(bool)Sets flag which indicates is field divided into spaced positions.
set_MaxLen(int32_t)Sets maximum length of text in the field.
set_Multiline(bool)Sets multiline flag of the field. If Multiline is true field can contain multiple lines of text.
set_Scrollable(bool)Sets scrollable flag of field. If true field can be scrolled.
set_SpellCheck(bool)Sets spellcheck flag for field. If true field shall be spell checked.
set_TextVerticalAlignment(Aspose::Pdf::VerticalAlignment)Sets text vertical alignment for annotation.
set_Value(System::String) overrideSets value of the field.
TextBoxField(System::SharedPtr<Document>)Constructor which should be used with Generator.
TextBoxField()Create instance of TextBoxField.
TextBoxField(System::SharedPtr<Aspose::Pdf::Page>, System::SharedPtr<Rectangle>)Constructor of TextBox field.
TextBoxField(System::SharedPtr<Document>, System::SharedPtr<Rectangle>)Constructor of TextBox field.

See Also