alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Enum PdfViewerWebMcpToolCommand

    PascalCase enum for every built-in WebMCP tool, plus None and Custom discriminators. Each member's EnumMemberAttribute Value is the bare camelCase tool name stored in the catalog. The mapping is the single source of truth for name <-> command.

    Namespace: Syncfusion.Blazor.SfPdfViewer
    Assembly: Syncfusion.Blazor.SfPdfViewer.dll
    Syntax
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public enum PdfViewerWebMcpToolCommand

    Fields

    Name Description
    AddAnnotation

    Add an annotation (line, highlight, shape, stamp, etc.).

    AddFormFields

    Add new form fields.

    Custom

    Custom discriminator. Required for <PdfViewerWebMcpTool Command="Custom" ...> entries.

    DeleteAnnotations

    Delete annotations by ID or all.

    DeleteFormFields

    Delete form fields by ID or all.

    DeletePages

    Delete pages by index.

    Download

    Download the document through the browser.

    DuplicatePages

    Duplicate pages by index.

    EditAnnotation

    Edit an existing annotation.

    ExportFormFields

    Export form fields to a JSON dictionary.

    ExtractPages

    Extract pages (download or as stream).

    FitToPage

    Fit page to page/width/height/auto.

    GetAnnotations

    List all annotations. Disabled by default; opt in with Enabled="true".

    GetBookmarks

    List all bookmarks in the document. Disabled by default; opt in with Enabled="true".

    GetDocumentInfo

    Read PDF document /Info dictionary (title, author, subject, keywords, creator, producer, dates, page count, byte size).

    GetFormFields

    List all form fields. Disabled by default; opt in with Enabled="true".

    GetPageDetails

    Get page size + rotation for every page.

    GetPageText

    Extract text content from a specific page. Disabled by default; opt in with Enabled="true"

    GetSearchTextPositions

    Get all search result positions and bounds for the current search. Disabled by default; opt in with Enabled="true"

    GetViewerState

    Read page count, current page, zoom %, view mode.

    GoToBookmark

    Jump to a bookmark.

    GoToPage

    Jump to a page (1-based) or relative first/last/next/previous.

    ImportFormFields

    Import form fields from a JSON dictionary.

    InsertBlankPages

    Insert blank pages at an index.

    MovePages

    Reorder pages to a target index.

    None

    No tool. Used as a guard value when no command has been resolved.

    Print

    Print the document.

    Redact

    Apply redaction to all redaction annotations.

    RotatePages

    Rotate pages by direction or to a fixed angle.

    SearchNext

    Jump to next/previous match.

    SearchText

    Search text in document.

    SetZoom

    Set zoom level (in/out/value).

    UndoRedo

    Undo or redo the most recent annotation edit.

    UpdateFormFields

    Update existing form field values.

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