Class PdfViewerTextMarkupSettings
Specifies the TextMarkup annotation settings.
Inheritance
PdfViewerTextMarkupSettings
Inherited Members
Namespace: Syncfusion.Blazor.SfPdfViewer
Assembly: Syncfusion.Blazor.SfPdfViewer.dll
Syntax
public abstract class PdfViewerTextMarkupSettings : PdfViewerAnnotationSettings
Constructors
PdfViewerTextMarkupSettings()
Declaration
protected PdfViewerTextMarkupSettings()
Properties
Color
Defines the color for Text markup annotations like highlight or underline or strikethrough or squiggly.
Declaration
[Parameter]
[JsonPropertyName("color")]
public string Color { get; set; }
Property Value
| Type |
|---|
| string |
EnableMultiPageAnnotation
If it is set as true, then can add text markup annotation with multiple pages. Otherwise can add text markup annotation only with in the page. By default it is false.
Declaration
[Parameter]
[JsonPropertyName("enableMultiPageAnnotation")]
public bool EnableMultiPageAnnotation { get; set; }
Property Value
| Type |
|---|
| bool |
EnableTextMarkupResizer
If it is set as true, resizer for text markup annotation will be enabled. By default it is false.
Declaration
[Parameter]
[JsonPropertyName("enableTextMarkupResizer")]
public bool EnableTextMarkupResizer { get; set; }
Property Value
| Type |
|---|
| bool |
Opacity
Defines the opacity for Text markup annotations like highlight or underline or strikethrough or squiggly. By default it is 1.
Declaration
[Parameter]
[JsonPropertyName("opacity")]
public double Opacity { get; set; }
Property Value
| Type |
|---|
| double |
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
| Type |
|---|
| Task |
Overrides
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type |
|---|
| Task |