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