Open a ticket
Chat with us
Click or drag to resize

TWPdfViewer Class

Constructor for TWPdfViewer component
Inheritance Hierarchy
SystemObject
  Microsoft.AspNetCore.ComponentsComponentBase
    Terminalworks.PdfViewer.AspNetCore.Pages.SharedTWPdfViewer

Namespace:  Terminalworks.PdfViewer.AspNetCore.Pages.Shared
Assembly:  PdfViewer.AspNetCore (in PdfViewer.AspNetCore.dll) Version: 1.0.43.0
Syntax
C#
public class TWPdfViewer : ComponentBase

The TWPdfViewer type exposes the following members.

Constructors
  NameDescription
Public methodTWPdfViewer
Initializes a new instance of the TWPdfViewer class
Top
Properties
  NameDescription
Public propertyId
Unique Id which accepts only ASCII characters. If not set, it is automatically generated.
Public propertyIsStatic
For render-mode="static" it is mandatory to set this property to value IsStatic=@"Yes" otherwise it will not work.
Public propertyOptions
Different properties like toolbar, zoom, etc.
Public propertyPassword
Public propertySecuredDocumentUrl
Top
Methods
  NameDescription
Protected methodBuildRenderTree (Overrides ComponentBaseBuildRenderTree(RenderTreeBuilder).)
Protected methodInvokeAsync(Action)
Executes the supplied work item on the associated renderer's synchronization context.
(Inherited from ComponentBase.)
Protected method[M:Microsoft.AspNetCore.Components.ComponentBase.InvokeAsync(System.Func`1)] (Inherited from ComponentBase.)
Protected methodOnAfterRender
Method invoked after each time the component has been rendered.
(Inherited from ComponentBase.)
Protected methodOnAfterRenderAsync
OnAfterRenderAsyc override
(Overrides ComponentBaseOnAfterRenderAsync(Boolean).)
Protected methodOnInitialized
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
(Inherited from ComponentBase.)
Protected methodOnInitializedAsync
On component initialized override
(Overrides ComponentBaseOnInitializedAsync.)
Protected methodOnParametersSet
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
(Inherited from ComponentBase.)
Protected methodOnParametersSetAsync
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
(Inherited from ComponentBase.)
Public methodSetParametersAsync
Sets parameters supplied by the component's parent in the render tree.
(Inherited from ComponentBase.)
Protected methodShouldRender
Returns a flag to indicate whether the component should render.
(Inherited from ComponentBase.)
Protected methodStateHasChanged
Notifies the component that its state has changed. When applicable, this will cause the component to be re-rendered.
(Inherited from ComponentBase.)
Top
See Also
Copyright © 2024 Terminalworks. All Rights Reserved