Class PdfViewerFreeTextSettings
Inheritance
System.Object
PdfViewerFreeTextSettings
Assembly: Syncfusion.Blazor.dll
Syntax
public class PdfViewerFreeTextSettings : PdfViewerAnnotationSettings
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
AnnotationSelectorSettings
Defines the annotaton selector settings for the freetext annotation.
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
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
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
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
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
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
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
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
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 double Height { get; set; }
Property Value
JsNamespace
Declaration
protected override string JsNamespace { get; set; }
Property Value
Overrides
JsProperty
Declaration
protected string JsProperty { get; set; }
Property Value
MainParent
Declaration
protected SfBaseComponent MainParent { get; set; }
Property Value
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
SfTagIndex
Declaration
protected override int SfTagIndex { get; set; }
Property Value
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
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 |
System.Threading.Tasks.Task |
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
System.Threading.Tasks.Task |
Overrides