Class PdfViewerLineSettings
Represents the settings for line styles in the PDF viewer component in Blazor applications.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.SfPdfViewer
Assembly: Syncfusion.Blazor.SfPdfViewer.dll
Syntax
public class PdfViewerLineSettings : PdfViewerShapeSettings
Remarks
This class manages the configuration for line settings, such as the head styles for the line's start and end points. It ensures that the settings are properly initialized and updated whenever parameters are set or changed.
Examples
Below is an example of how to use PdfViewerLineSettings in a Blazor component:
Constructors
PdfViewerLineSettings()
Declaration
public PdfViewerLineSettings()
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 override string JsProperty { get; set; }
Property Value
| Type |
|---|
| string |
Overrides
LineHeadEndStyle
Defines the head end style of the line annotation. By default it is "".
Declaration
[Parameter]
[JsonPropertyName("lineHeadEndStyle")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public virtual LineHeadStyle LineHeadEndStyle { get; set; }
Property Value
| Type |
|---|
| LineHeadStyle |
LineHeadStartStyle
Defines the head end style of the line annotation. By default it is "".
Declaration
[Parameter]
[JsonPropertyName("lineHeadStartStyle")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public virtual LineHeadStyle LineHeadStartStyle { get; set; }
Property Value
| Type |
|---|
| LineHeadStyle |
MainParent
Gets or sets the parent base component reference.
Declaration
protected override SfBaseComponent MainParent { get; set; }
Property Value
| Type |
|---|
| SfBaseComponent |
Overrides
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.
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.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous parameter-set operation. |