This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // For complete examples and data files, please go to https://github.com/aspose-pdf/Aspose.Pdf-for-.NET | |
| using System.Collections; | |
| using System.Reflection; | |
| using Microsoft.ReportingServices.ReportRendering; | |
| // Use one of the two namespaces below depending on whether you are developing | |
| // a WinForms or WebForms application. | |
| using Microsoft.Reporting.WinForms; | |
| // -- or -- | |
| // using Microsoft.Reporting.WebForms; | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // For complete examples and data files, please go to https://github.com/aspose-pdf/Aspose.Pdf-for-Java | |
| // Open source PDF document | |
| Document pdfDocument = new Document("input.pdf"); | |
| // Delete all annotation | |
| pdfDocument.getPages().get_Item(1).getAnnotations().delete(); | |
| // Save the update document | |
| pdfDocument.save("output.pdf"); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // For complete examples and data files, please go to https://github.com/aspose-barcode/Aspose.BarCode-for-Java | |
| // The path to the resource directory. | |
| String dataDir = Utils.getDataDir(ApplyALicense.class) + "License/"; | |
| String licFilePath = dataDir + "Aspose.BarCode.lic"; | |
| // Apply a license to avoid the evaluation watermark in the barcode image. | |
| License licBarcode = new License(); | |
| licBarcode.setLicense(licFilePath); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // For complete examples and data files, please go to https://github.com/aspose-diagram/Aspose.Diagram-for-Java | |
| // The path to the documents directory. | |
| String dataDir = Utils.getDataDir(AddPageLevelCommentInVisio.class); | |
| // Call the diagram constructor to load diagram | |
| Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
| // Add comment | |
| diagram.getPages().getPage(0).addComment(7.205905511811023, 3.880708661417323, "test@"); | |
| // Save diagram | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //The path to the documents directory | |
| String dataDir = Utils.getDataDir(DeleteRedundantSpacesFromHtml.class); | |
| //Sample Html containing redundant spaces after <br> tag | |
| String html = "<html>" | |
| + "<body>" | |
| + "<table>" | |
| + "<tr>" | |
| + "<td>" | |
| + "<br> This is sample data" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // For complete examples and data files, please go to https://github.com/aspose-diagram/Aspose.Diagram-for-.NET | |
| // set path of the license file, i.e. c:\temp\ | |
| string dataDir = @"c:\temp\"; | |
| License license = new License(); | |
| license.SetLicense(dataDir + "Aspose.Diagram.lic"); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
| // The path to the documents directory. | |
| string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | |
| // Instantiating a Workbook object | |
| // Opening the Excel file through the file stream | |
| Workbook excel = new Workbook(dataDir + "book1.xls"); | |
| // Accessing the first worksheet in the Excel file | |
| Worksheet worksheet = excel.Worksheets[0]; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // For complete examples and data files, please go to https://github.com/aspose-imaging/Aspose.Imaging-for-.NET | |
| //Create and initialize an instance of Graphics | |
| Aspose.Imaging.Graphics graphics = new Aspose.Imaging.Graphics(image); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Temp/ | |
| obj/ | |
| classes/ | |
| generated/ | |
| *.suo | |
| bin/ | |
| *_out_* | |
| * Out* | |
| * out* | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // For complete examples and data files, please go to https://github.com/aspose-ocr/Aspose.OCR-for-Java | |
| OmrTemplate template = new OmrTemplate(); | |
NewerOlder