alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class PdfViewerTileRenderingSettings

    Represents the tile rendering settings for the PDF Viewer component.

    Inheritance
    object
    PdfViewerTileRenderingSettings
    Namespace: Syncfusion.Blazor.SfPdfViewer
    Assembly: Syncfusion.Blazor.SfPdfViewer.dll
    Syntax
    public class PdfViewerTileRenderingSettings : SfBaseComponent
    Remarks

    This class provides configuration options for enabling tile rendering and setting tile coordinates.

    Examples

    Example usage in a Blazor component:

    Constructors

    PdfViewerTileRenderingSettings()

    Declaration
    public PdfViewerTileRenderingSettings()

    Properties

    ChildContent

    Gets or sets the child content to be rendered inside the tile rendering settings component.

    Declaration
    [Parameter]
    [JsonIgnore]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type
    RenderFragment

    EnableTileRendering

    If it is set as true, PDF Viewer page will be rendered with multiple tile images. By default it is false.

    Declaration
    [Parameter]
    [JsonPropertyName("enableTileRendering")]
    public bool EnableTileRendering { get; set; }
    Property Value
    Type
    bool

    X

    Defines the context menu action. By default it is RightClick. If it is set as MouseUp, context menu will open on mouse up action instead of rightclick action.

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

    Y

    Defines the context menu items shoule be visibled in the PDF Viewer.

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

    jsProperty

    The JS interop property name used internally.

    Declaration
    protected string jsProperty { get; set; }
    Property Value
    Type
    string

    mainParent

    Reference to the parent base component in the hierarchy.

    Declaration
    protected SfBaseComponent mainParent { get; set; }
    Property Value
    Type
    SfBaseComponent

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder

    OnInitializedAsync()

    Performs asynchronous initialization for the component, registers it with the parent viewer, and initializes backing fields from current parameter values.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A task that represents the asynchronous initialization operation.

    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.

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