Class PdfViewerStickyNotesSettings
Represents the sticky notes settings for the PDF Viewer component.
Inherited Members
Namespace: Syncfusion.Blazor.SfPdfViewer
Assembly: Syncfusion.Blazor.SfPdfViewer.dll
Syntax
public class PdfViewerStickyNotesSettings : PdfViewerAnnotationSettings
Remarks
This class manages the configuration of sticky notes, including properties such as opacity.
Examples
Below is an example of how to configure PdfViewerStickyNotesSettings in a Blazor component:
Constructors
PdfViewerStickyNotesSettings()
Declaration
public PdfViewerStickyNotesSettings()
Properties
JsNamespace
Gets or sets the JavaScript interop namespace for this component.
Declaration
protected override string JsNamespace { get; set; }
Property Value
| Type |
|---|
| string |
Overrides
JsProperty
Gets or sets the JS interop property name used internally.
Declaration
protected string JsProperty { get; set; }
Property Value
| Type |
|---|
| string |
MainParent
Gets or sets the parent base component reference.
Declaration
protected SfBaseComponent MainParent { get; set; }
Property Value
| Type |
|---|
| SfBaseComponent |
Opacity
Sets the opacity value for sticky notes annotation. By default value is 1. It range varies from 0 to 1.
Declaration
[Parameter]
[JsonPropertyName("opacity")]
public double Opacity { get; set; }
Property Value
| Type |
|---|
| double |
SfTagIndex
Gets or sets tag index used to compose the JS namespace within the parent hierarchy.
Declaration
protected override int SfTagIndex { get; set; }
Property Value
| Type |
|---|
| int |
Overrides
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
OnInitializedAsync()
Performs asynchronous initialization for the component. Initializes backing fields from the current parameter values.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous initialization operation. |
Overrides
OnParametersSetAsync()
Applies parameter changes and updates child properties when needed. Synchronizes backing fields and notifies property changes.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous parameter-set operation. |