Note The code uses some of the objects defined in The Business Layer. Template Syntax Formats Specifying String and Numeric Formats Learn more about string and numeric formats here.
Template Syntax Manager Contract Price <> <<[getName()]:upper>> <<[getContracts().sum( c => c.getPrice())]:arabicDash>> <> Total: <<[getManagers().sum( m => m.getContracts().sum( c => c.getPrice()))]>> Download Template Get template from here.
Numeric upper.docx The Code...sum(<br /> c =><br /> c.getPrice())]:arabicDash>><br...m.getContracts().sum(<br /> c => c.getPrice()))]>> Download Template...
This article demonstrates how to convert PowerPoint presentations of PPT, PPTX, ODP to other formats with couple lines of C# code....made with just several lines of C# code. This article explains how...formats programmatically using C# language. Supported presentation...
This topic explains how to get document pages preview as images with various options by GroupDocs.Signature API....previewOption = new PreviewOptions ( "C:\\GeneratePreviewHideS\\image...{ Path path = Paths . get ( "C:\\GeneratePreviewFolde" ); if...
Adding watermark to all pages of a particular type Using GroupDocs.Watermark, you can add watermark to all pages of a particular type in a document. It consists of following steps.
Load the document Create and initialize watermark object Set watermark properties Add watermark by specifying page type using setPlacementType() method of DiagramShapeWatermarkOptions Save the document Following code shows how to add watermark to a particular type of the pages.... Ex: "C:\\Docs\\diagram.vsdx" Watermarker...relative path to your document. Ex: "C:\\Docs\\diagram.vsdx" Watermarker...
First of all you need to create an index. An index can be created in memory or on disk. An index created in memory cannot be saved after exiting your program. In contrast, an index created on disk may be loaded in the future to continue working.... const indexFolder = 'c:/MyIndex/' ; // Specify the path...existing index. const indexFolder = 'c:/MyIndex/' ; // Specify the path...
Follow this guide and learn how to remove page from PDF or Word document, delete worksheet from Excel file or remove slides from PowerPoint presentations with GroupDocs.Merger for Java API....pages: const inputFilePath = `c:/sample.one` ; const merger =...inputFilePath ); const outputPath = `c:/output/result.one` ; const removeOptions...
This article explains how to add document password for PDF, Word, Excel, PowerPoint and other file types using GroupDocs.Merger for Java....filePath = "c:\sample.pptx" ; String filePathOut = "c:\output\result...