Nutrient Web SDK
    Preparing search index...

    Namespace DocumentOperations

    The DocumentOperation namespace contains all the operations that can be applied to a document.

    Apply a rotation operation to the document after load.

    instance.applyOperations([{
    type: 'rotatePages',
    pageIndexes: [0],
    rotateBy: 90
    }])

    Export the document with the operations applied.

    instance.exportPDFWithOperations([{
    type: 'rotatePages',
    pageIndexes: [0],
    rotateBy: 90
    }])

    Interfaces

    AddPageAfterOperation
    AddPageBeforeOperation
    AddPageMarginsOperation
    ApplyInstantJsonOperation
    ApplyRedactionsOperation
    ApplyXfdfOperation
    CropPagesOperation
    DuplicatePagesOperation
    FlattenAnnotationsOperation
    ImportDocumentAfterOperation
    ImportDocumentBeforeOperation
    KeepPagesOperation
    MovePagesAfterOperation
    MovePagesBeforeOperation
    PerformOcrOperation
    RemovePagesOperation
    RotatePagesOperation
    SetPageLabelOperation
    UpdateMetadataOperation

    Type Aliases

    DocumentOperationsUnion