How to Run the Examples

Download from GitHub

All examples of Aspose.Cells for Java are hosted on GitHub. You can either clone the repository using your favorite GitHub client or download the ZIP file from here.

Extract the contents of ZIP file to any folder on your computer. All the examples are located in the Examples folder.

The Resources folder contains input documents or files used in the examples.

You can run/execute these examples with any IDE of you choice, however, for demonstration purposes, we are using Eclipse. Use the File -> Import option to import the example of your choice and specify the path.

Add the required jar files (Libraries) in the project.

Each example is provided as a separate runnable class. Right-click the file and choose Run File.

Run the Example

Once, you open the Examples in the Eclipse IDE, then select any .java file. For example, select this one.

TilePictureAsTextureInsideShape.java

found inside the

Examples>src>AsposeCellsExamples>DrawingObjects directory

or inside the package

AsposeCellsExamples.DrawingObjects

and run it.

Screenshot

Please see the following screenshot and its highlighted areas for more help.

todo:image_alt_text

Contribute

If you like to add or improve an example, we encourage you to contribute to the project. All examples and showcase projects in this repository are open source and can be freely used in your own applications.

To contribute, you can fork the repository, edit the source code and create a pull request. We will review the changes and include it in the repository if found helpful.