alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class SmartFillSettings

    Configures settings for the Smart Fill feature in the Smart PDF Viewer. This class allows users to manage, enable, and execute smart form fill operations, leveraging AI to automate the population of PDF form fields based on clipboard or specified data.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    SmartFillSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnAfterRenderAsync(bool)
    SfBaseComponent.OnInitializedAsync()
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicenseByUICategory()
    Namespace: Syncfusion.Blazor.SmartPdfViewer
    Assembly: Syncfusion.Blazor.SmartPdfViewer.dll
    Syntax
    public class SmartFillSettings : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    SmartFillSettings provides all options and execution hooks for integrating AI-powered, context-aware document filling into a PDF viewer workflow.

    Examples

    The following example demonstrates how to declare smart fill settings for the PDF viewer:

    <SfSmartPdfViewer>
        <SmartFillSettings />
    </SfSmartPdfViewer>

    Constructors

    SmartFillSettings()

    Declaration
    public SmartFillSettings()

    Properties

    ChildContent

    Renders the child element

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

    Enable

    Gets or sets a value indicating whether the Smart Fill feature is enabled in the PDF viewer. When set to true, the Smart Fill button is visible in the toolbar. When set to false, the button is hidden, and all related functionality is inaccessible.

    Declaration
    [Parameter]
    public bool Enable { get; set; }
    Property Value
    Type Description
    bool

    true to show and potentially enable the Smart Fill button in the toolbar depending on form in the document; otherwise, false to hide and disable the feature completely. Default value is true.

    Remarks

    Use the Enable property to control both visibility and readiness of the Smart Fill capability. Even if enabled, the Smart Fill button remains disabled unless loaded PDF document contains form fields. These constraints ensure robust and accurate AI-driven data mapping for form completion and prevent ambiguous filling.

    Examples

    The following example enables Smart Fill and displays the button in the toolbar:

    <SfSmartPdfViewer>
       <SmartFillSettings Enable="false" />
    </SfSmartPdfViewer>

    Methods

    BuildRenderTree(RenderTreeBuilder)

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

    OnParametersSet()

    Called when the parameters are set for the component.

    Declaration
    protected override void OnParametersSet()
    Overrides
    ComponentBase.OnParametersSet()

    Implements

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