alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class PdfViewerShapeSettings

    Represents the attributes of shape annotation settings.

    Inheritance
    object
    PdfViewerAnnotationSettings
    PdfViewerShapeSettings
    PdfViewerAreaSettings
    PdfViewerCircleSettings
    PdfViewerHandwrittenSignatureSettings
    PdfViewerLineSettings
    PdfViewerPerimeterSettings
    PdfViewerPolygonSettings
    PdfViewerRadiusSettings
    PdfViewerRectangleSettings
    PdfViewerRedactionSettings
    PdfViewerVolumeSettings
    Inherited Members
    PdfViewerAnnotationSettings.AllowedInteractions
    PdfViewerAnnotationSettings.Author
    PdfViewerAnnotationSettings.BuildRenderTree(RenderTreeBuilder)
    PdfViewerAnnotationSettings.ChildContent
    PdfViewerAnnotationSettings.CustomData
    PdfViewerAnnotationSettings.IsLock
    PdfViewerAnnotationSettings.IsPrint
    PdfViewerAnnotationSettings.jsProperty
    PdfViewerAnnotationSettings.mainParent
    PdfViewerAnnotationSettings.MaxHeight
    PdfViewerAnnotationSettings.MaxWidth
    PdfViewerAnnotationSettings.MinHeight
    PdfViewerAnnotationSettings.MinWidth
    PdfViewerAnnotationSettings.SkipDownload
    PdfViewerAnnotationSettings.SkipPrint
    Namespace: Syncfusion.Blazor.SfPdfViewer
    Assembly: Syncfusion.Blazor.SfPdfViewer.dll
    Syntax
    public abstract class PdfViewerShapeSettings : PdfViewerAnnotationSettings

    Constructors

    PdfViewerShapeSettings()

    Declaration
    protected PdfViewerShapeSettings()

    Properties

    AnnotationSelectorSettings

    Defines the annotaton selector settings for the annotation.

    Declaration
    [Parameter]
    [JsonPropertyName("annotationSelectorSettings")]
    public PdfViewerAnnotationSelectorSettings AnnotationSelectorSettings { get; set; }
    Property Value
    Type
    PdfViewerAnnotationSelectorSettings

    BorderDashArray

    Defines the border dash array. By default it is .

    Declaration
    [Parameter]
    [JsonPropertyName("borderDashArray")]
    public int[] BorderDashArray { get; set; }
    Property Value
    Type
    int[]

    FillColor

    specifies the fill color of the annotation.

    Declaration
    [Parameter]
    [JsonPropertyName("fillColor")]
    public string FillColor { get; set; }
    Property Value
    Type
    string

    JsNamespace

    Gets or sets the JavaScript interop namespace for this component.

    Declaration
    protected override string JsNamespace { get; set; }
    Property Value
    Type
    string
    Overrides
    PdfViewerAnnotationSettings.JsNamespace

    JsProperty

    Gets or sets the JS interop property name used internally.

    Declaration
    protected virtual string JsProperty { get; set; }
    Property Value
    Type
    string

    MainParent

    Gets or sets the parent base component reference.

    Declaration
    protected virtual SfBaseComponent MainParent { get; set; }
    Property Value
    Type
    SfBaseComponent

    Opacity

    Defines the opacity for the shape annotations. By default it is 1. It's range varies 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
    PdfViewerAnnotationSettings.SfTagIndex

    StrokeColor

    Defines the stroke color of the shape annotations. By default it is "".

    Declaration
    [Parameter]
    [JsonPropertyName("strokeColor")]
    public string StrokeColor { get; set; }
    Property Value
    Type
    string

    Thickness

    Defines the thickness of the shape annotations. By default it is 1. It's range varies 1 to 10.

    Declaration
    [Parameter]
    [JsonPropertyName("thickness")]
    public int Thickness { get; set; }
    Property Value
    Type
    int

    Methods

    OnInitializedAsync()

    Performs asynchronous initialization for the component.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A task that represents the asynchronous initialization operation.

    Overrides
    PdfViewerAnnotationSettings.OnInitializedAsync()

    OnParametersSetAsync()

    Applies parameter changes and updates child properties when needed.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    Task

    A task that represents the asynchronous parameter-set operation.

    Overrides
    PdfViewerAnnotationSettings.OnParametersSetAsync()
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved