Nutrient Web SDK
    Preparing search index...

    Interface CropPagesOperation

    Crops the pages of PDF document. If the pageIndexes property is undefined, the cropping operation is applied to all pages.

    instance.applyOperations([{
    type: "cropPages",
    pageIndexes: [1, 2],
    cropBox: new NutrientViewer.Geometry.Rect({
    top: 100,
    left: 100,
    width: 100,
    height: 100
    })
    }]);
    interface CropPagesOperation {
        cropBox: NutrientViewer.Geometry.Rect;
        pageIndexes?: number[];
        type: "cropPages";
    }
    Index

    Properties

    pageIndexes?: number[]
    type: "cropPages"