TWPdfViewer Class |
Namespace: Terminalworks.PdfViewer.AspNetCore.Pages.Shared
public class TWPdfViewer : ComponentBase
The TWPdfViewer type exposes the following members.
| Name | Description | |
|---|---|---|
| TWPdfViewer | Initializes a new instance of the TWPdfViewer class |
| Name | Description | |
|---|---|---|
| Id |
Unique Id which accepts only ASCII characters. If not set, it is automatically generated.
| |
| IsStatic |
For render-mode="static" it is mandatory to set this property to value IsStatic=@"Yes" otherwise it will not work.
| |
| Options |
Different properties like toolbar, zoom, etc.
| |
| Password | ||
| SecuredDocumentUrl |
| Name | Description | |
|---|---|---|
| BuildRenderTree | (Overrides ComponentBaseBuildRenderTree(RenderTreeBuilder).) | |
| InvokeAsync(Action) |
Executes the supplied work item on the associated renderer's
synchronization context.
(Inherited from ComponentBase.) | |
| [M:Microsoft.AspNetCore.Components.ComponentBase.InvokeAsync(System.Func`1)] | (Inherited from ComponentBase.) | |
| OnAfterRender |
Method invoked after each time the component has been rendered.
(Inherited from ComponentBase.) | |
| OnAfterRenderAsync |
OnAfterRenderAsyc override
(Overrides ComponentBaseOnAfterRenderAsync(Boolean).) | |
| OnInitialized |
Method invoked when the component is ready to start, having received its
initial parameters from its parent in the render tree.
(Inherited from ComponentBase.) | |
| OnInitializedAsync |
On component initialized override
(Overrides ComponentBaseOnInitializedAsync.) | |
| OnParametersSet |
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.) | |
| OnParametersSetAsync |
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.) | |
| SetParametersAsync |
Sets parameters supplied by the component's parent in the render tree.
(Inherited from ComponentBase.) | |
| ShouldRender |
Returns a flag to indicate whether the component should render.
(Inherited from ComponentBase.) | |
| StateHasChanged |
Notifies the component that its state has changed. When applicable, this will
cause the component to be re-rendered.
(Inherited from ComponentBase.) |