Using this plugin, you can load your Office files, apply different Effects and Watermarks to them through Image Processors, and save them in BMP, PNG, PNG8, JPG, JPEG, GIF, TIFF formats.
In addition, PageExtractor processor gives you an opportunity to specify the page(s) which you want to be loaded.
To be able to use this plugin, you must add Devesprit.ImageProcessor.Plugings.Office.dll file as a reference to your project in Visual Studio.
Word Formats: DOCX, DOC, RTF, DOT, DOTX, DOTM, ODT, OTT
Excel Formats: XLSX, XLS, XLSB, ODS
PowerPoint Formats: PPTX, PPT, ODP, PPS, PPSX, PPTM, PPSM, POTX, POTM
Visio Formats: VSD, VSDX, VSS, VSSX, VST, VSTX
Example |
Copy Code |
---|---|
new ImageFactory().Load("Test.docx") .Format(new TiffFormat()) .PageExtractor("1,2,5-7") .Watermark(new TextLayer() {Text = "Devesprit"}) .Save("Dest.tiff"); |