Example
instance.applyOperations([{
type: "cropPages",
pageIndexes: [1, 2],
cropBox: new NutrientViewer.Geometry.Rect({
top: 100,
left: 100,
width: 100,
height: 100
})
}]);
Nutrient Web SDK
instance.applyOperations([{
type: "cropPages",
pageIndexes: [1, 2],
cropBox: new NutrientViewer.Geometry.Rect({
top: 100,
left: 100,
width: 100,
height: 100
})
}]);
Crops the pages of PDF document. If the
pageIndexesproperty is undefined, the cropping operation is applied to all pages.