Class PdfViewerFreeTextSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PdfViewerFreeTextSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class PdfViewerFreeTextSettingsBuilder : ControlBuilder
Constructors
PdfViewerFreeTextSettingsBuilder()
Declaration
public PdfViewerFreeTextSettingsBuilder()
PdfViewerFreeTextSettingsBuilder(PdfViewerFreeTextSettings)
Declaration
public PdfViewerFreeTextSettingsBuilder(PdfViewerFreeTextSettings model)
Parameters
Methods
AllowedInteractions(Object)
Gets or sets the allowed interactions for the locked free text annotations.
IsLock can be configured using free text settings.
Declaration
public PdfViewerFreeTextSettingsBuilder AllowedInteractions(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
AllowEditTextOnly(Boolean)
specifies the allow text only action of the free text annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder AllowEditTextOnly(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
AnnotationSelectorSettings(Object)
specifies the annotation selector settings of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder AnnotationSelectorSettings(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
Author(String)
specifies the author of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder Author(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
BorderColor(String)
specifies the border color of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder BorderColor(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
BorderStyle(String)
specifies the border style of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder BorderStyle(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
BorderWidth(Double)
specifies the border with of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder BorderWidth(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
CustomData(Object)
specifies the custom data of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder CustomData(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
DefaultText(String)
setting the default text for annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder DefaultText(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
EnableAutoFit(Boolean)
Enable or disable auto fit mode for FreeText annotation in the Pdfviewer. FALSE by default.
Declaration
public PdfViewerFreeTextSettingsBuilder EnableAutoFit(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
FillColor(String)
specifies the background fill color of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder FillColor(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
FontColor(String)
specifies the text box font color of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder FontColor(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
FontFamily(String)
specifies the text box font family of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder FontFamily(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
FontSize(Double)
specifies the text box font size of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder FontSize(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
FontStyle(FontStyle)
applying the font styles for the text.
Declaration
public PdfViewerFreeTextSettingsBuilder FontStyle(FontStyle value)
Parameters
Returns
Height(Double)
specifies the height of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder Height(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
IsLock(Boolean)
specifies the locked action of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder IsLock(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
IsPrint(Boolean)
specifies whether the individual annotations are included or not in print actions.
Declaration
public PdfViewerFreeTextSettingsBuilder IsPrint(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
IsReadonly(Boolean)
Enables or disables text editing for the annotation. FALSE, by default.
Declaration
public PdfViewerFreeTextSettingsBuilder IsReadonly(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
MaxHeight(Double)
specifies the maxHeight of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder MaxHeight(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
MaxWidth(Double)
specifies the maxWidth of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder MaxWidth(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
MinHeight(Double)
specifies the minHeight of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder MinHeight(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
MinWidth(Double)
specifies the minWidth of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder MinWidth(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
Offset(Object)
Get or set offset of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder Offset(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
Returns
Opacity(Double)
specifies the opacity of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder Opacity(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
PageNumber(Double)
Get or set page number of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder PageNumber(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
Subject(String)
specifies the subject of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder Subject(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
TextAlignment(TextAlignment)
Aligning the text in the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder TextAlignment(TextAlignment value)
Parameters
Returns
Width(Double)
specifies the width of the annotation.
Declaration
public PdfViewerFreeTextSettingsBuilder Width(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns