Class PdfViewerFreeTextSettings
Inheritance
System.Object
PdfViewerFreeTextSettings
Implements
System.IDisposable
Assembly: Syncfusion.Blazor.dll
Syntax
public class PdfViewerFreeTextSettings : PdfViewerAnnotationSettings, IDisposable
Constructors
PdfViewerFreeTextSettings()
Declaration
public PdfViewerFreeTextSettings()
Properties
AllowEditTextOnly
If it is set as true, then we can't move , resize the freetext annotations in the PDF Viewer. Just we can modify the existing text content. Otherwise along with modifying text we can resize, move the existing text content.By default it is false.
Declaration
public bool AllowEditTextOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AnnotationSelectorSettings
Declaration
public PdfViewerAnnotationSelectorSettings AnnotationSelectorSettings { get; set; }
Property Value
BorderColor
Defines the border color for free text or label text for shape and measurement annotation. By default it is "#ffffff00".
Declaration
public string BorderColor { get; set; }
Property Value
Type |
Description |
System.String |
|
BorderStyle
Defines the border style for free text or label text for shape and measurement annotation. By default it is "solid".
Declaration
public string BorderStyle { get; set; }
Property Value
Type |
Description |
System.String |
|
BorderThickness
Defines the border width for free text or label text for shape and measurement annotation. By default it is "1".
Declaration
public int BorderThickness { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
DefaultText
Defines the fill color for free text or label text for shape and measurement annotation. By default it is "Type Here".
Declaration
public string DefaultText { get; set; }
Property Value
Type |
Description |
System.String |
|
FillColor
Defines the fill color for free text or label text for shape and measurement annotation. By default it is "#ffffff00".
Declaration
public string FillColor { get; set; }
Property Value
Type |
Description |
System.String |
|
FontColor
Defines the font color for free text or label text for shape and measurement annotation. By default it is "#000".
Declaration
public string FontColor { get; set; }
Property Value
Type |
Description |
System.String |
|
FontFamily
Defines the font family for free text or label text for shape and measurement annotation. By default it is "Helvetica".
Declaration
public string FontFamily { get; set; }
Property Value
Type |
Description |
System.String |
|
FontSize
Defines the font size for free text or label text for shape and measurement annotation. By default it is "16".
Declaration
public double FontSize { get; set; }
Property Value
Type |
Description |
System.Double |
|
FontStyle
Defines the font style for free text or label text for shape and measurement annotation. By default it is "None".
Declaration
public FontStyle FontStyle { get; set; }
Property Value
Height
Defines the height for free text or label text for shape and measurement annotation. By default it is "24.6".
Declaration
public int Height { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
JsNamespace
Declaration
protected override string JsNamespace { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
jsProperty
Declaration
protected override string jsProperty { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
mainParent
Declaration
protected override BaseComponent mainParent { get; set; }
Property Value
Overrides
Opacity
Defines the opacity for free text or label text for shape and measurement annotation. By default it is "1".
Declaration
public double Opacity { get; set; }
Property Value
Type |
Description |
System.Double |
|
SfTagIndex
Declaration
protected override int SfTagIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
TextAlignment
Defines the text alignment for free text or label text for shape and measurement annotation. By default it is "Left".
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
Width
Defines the width for free text or label text for shape and measurement annotation. By default it is "151".
Declaration
public int Width { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder |
__builder |
|
Overrides
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Implements
System.IDisposable