Class PdfViewerTextFieldSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PdfViewerTextFieldSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class PdfViewerTextFieldSettingsBuilder : ControlBuilder
Constructors
PdfViewerTextFieldSettingsBuilder()
Declaration
public PdfViewerTextFieldSettingsBuilder()
PdfViewerTextFieldSettingsBuilder(PdfViewerTextFieldSettings)
Declaration
public PdfViewerTextFieldSettingsBuilder(PdfViewerTextFieldSettings model)
Parameters
Methods
Alignment(TextAlignment)
Get or set the alignment of the text.
Declaration
public PdfViewerTextFieldSettingsBuilder Alignment(TextAlignment value)
Parameters
Returns
BackgroundColor(String)
Get or set the background color of the textbox in hexadecimal string format.
Declaration
public PdfViewerTextFieldSettingsBuilder BackgroundColor(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
BorderColor(String)
Get or set the border color of the textbox field.
Declaration
public PdfViewerTextFieldSettingsBuilder BorderColor(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Bounds(Object)
Get or set the form field bounds.
Declaration
public PdfViewerTextFieldSettingsBuilder Bounds(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
Color(String)
Get or set the font color of the textbox in hexadecimal string format.
Declaration
public PdfViewerTextFieldSettingsBuilder Color(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
CustomData(Object)
specifies the custom data of the form fields.
Declaration
public PdfViewerTextFieldSettingsBuilder CustomData(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
FontFamily(String)
Get or set the font family of the textbox field.
Declaration
public PdfViewerTextFieldSettingsBuilder FontFamily(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
FontSize(Double)
Get or set the font size of the textbox field.
Declaration
public PdfViewerTextFieldSettingsBuilder FontSize(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
FontStyle(FontStyle)
Get or set the font Style of textbox field.
Declaration
public PdfViewerTextFieldSettingsBuilder FontStyle(FontStyle value)
Parameters
Returns
IsMultiline(Boolean)
Allows multiline input in the text field. FALSE, by default.
Declaration
public PdfViewerTextFieldSettingsBuilder IsMultiline(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
IsPrint(Boolean)
Get or set the boolean value to print the textbox field. TRUE by default.
Declaration
public PdfViewerTextFieldSettingsBuilder IsPrint(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
IsReadOnly(Boolean)
Specifies whether the textbox field is in read-only or read-write mode. FALSE by default.
Declaration
public PdfViewerTextFieldSettingsBuilder IsReadOnly(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
IsRequired(Boolean)
If it is set as true, consider as mandatory field in the PDF document. By default it is false.
Declaration
public PdfViewerTextFieldSettingsBuilder IsRequired(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
MaxLength(Double)
Get or set the maximum character length.
Declaration
public PdfViewerTextFieldSettingsBuilder MaxLength(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
Name(String)
Get or set the name of the form field element.
Declaration
public PdfViewerTextFieldSettingsBuilder Name(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
PageNumber(Double)
specifies the page number of the form field.
Declaration
public PdfViewerTextFieldSettingsBuilder PageNumber(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
Thickness(Double)
Get or set the thickness of the textbox field.
Declaration
public PdfViewerTextFieldSettingsBuilder Thickness(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
Tooltip(String)
Get or set the text to be displayed as tooltip. By default it is empty.
Declaration
public PdfViewerTextFieldSettingsBuilder Tooltip(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Value(String)
Get or set the value of the form field.
Declaration
public PdfViewerTextFieldSettingsBuilder Value(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Visibility(Visibility)
Gets or set the visibility of the form field.
Declaration
public PdfViewerTextFieldSettingsBuilder Visibility(Visibility value)
Parameters
Returns