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