Class PdfViewerListBoxFieldSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PdfViewerListBoxFieldSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class PdfViewerListBoxFieldSettingsBuilder : ControlBuilder
Constructors
PdfViewerListBoxFieldSettingsBuilder()
Declaration
public PdfViewerListBoxFieldSettingsBuilder()
PdfViewerListBoxFieldSettingsBuilder(PdfViewerListBoxFieldSettings)
Declaration
public PdfViewerListBoxFieldSettingsBuilder(PdfViewerListBoxFieldSettings model)
Parameters
Methods
Alignment(TextAlignment)
Get or set the alignment of the text.
Declaration
public PdfViewerListBoxFieldSettingsBuilder Alignment(TextAlignment value)
Parameters
Returns
BackgroundColor(String)
Get or set the background color of the listbox in hexadecimal string format.
Declaration
public PdfViewerListBoxFieldSettingsBuilder BackgroundColor(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
BorderColor(String)
Get or set the border color of the list box field.
Declaration
public PdfViewerListBoxFieldSettingsBuilder BorderColor(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Bounds(Object)
Get or set the form field bounds.
Declaration
public PdfViewerListBoxFieldSettingsBuilder Bounds(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
Color(String)
Get or set the font color of the listbox in hexadecimal string format.
Declaration
public PdfViewerListBoxFieldSettingsBuilder Color(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
FontFamily(String)
Get or set the font family of the listbox field.
Declaration
public PdfViewerListBoxFieldSettingsBuilder FontFamily(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
FontSize(Double)
Get or set the font size of the listbox field.
Declaration
public PdfViewerListBoxFieldSettingsBuilder FontSize(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
FontStyle(FontStyle)
Get or set the font Style of listbox field.
Declaration
public PdfViewerListBoxFieldSettingsBuilder FontStyle(FontStyle value)
Parameters
Returns
IsPrint(Boolean)
Get or set the boolean value to print the listbox field. TRUE by default.
Declaration
public PdfViewerListBoxFieldSettingsBuilder IsPrint(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
IsReadOnly(Boolean)
Specifies whether the listbox field is in read-only or read-write mode. FALSE by default.
Declaration
public PdfViewerListBoxFieldSettingsBuilder 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 PdfViewerListBoxFieldSettingsBuilder IsRequired(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
Name(String)
Get or set the name of the form field element.
Declaration
public PdfViewerListBoxFieldSettingsBuilder Name(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Options(Object)
Get or set the listbox items.
Declaration
public PdfViewerListBoxFieldSettingsBuilder Options(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
PageNumber(Double)
specifies the page number of the form field.
Declaration
public PdfViewerListBoxFieldSettingsBuilder PageNumber(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
Thickness(Double)
Get or set the thickness of the list box field.
Declaration
public PdfViewerListBoxFieldSettingsBuilder Thickness(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
Get or set the text to be displayed as tool tip. By default it is empty.
Declaration
public PdfViewerListBoxFieldSettingsBuilder Tooltip(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Value(String)
Get or set the value of the form field.
Declaration
public PdfViewerListBoxFieldSettingsBuilder Value(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Visibility(Visibility)
Gets or set the visibility of the form field.
Declaration
public PdfViewerListBoxFieldSettingsBuilder Visibility(Visibility value)
Parameters
Returns