PDF Web SDK Documentation

Comprehensive Guide for Developers: UI & SDK Integration, Configuration, and API Reference

PDF Web SDK
    Preparing search index...

    Interface ITranslateCommandResult

    interface ITranslateCommandResult {
        changed?: IUndoChanged;
        claims: readonly string[];
        file: File;
        history?: IDocumentHistory;
        modifiedSourceFile?: File;
    }

    Hierarchy (View Summary)

    Index

    Properties

    changed?: IUndoChanged
    claims: readonly string[]

    Everything file carries: the source document's claims plus this tool's own. The source is untouched — the API works on exported bytes — so its claims stay as they were and this is the list to hand on with the result.

    file: File
    modifiedSourceFile?: File

    A modified copy of the source document that was actually sent for processing, when it differs from the open document — e.g. an extracted page subset (convert/ocr/translate) or a copy with baked-in placements (sign). Lets the caller show that exact source alongside the result. Undefined when the open document was processed unchanged.