This gist repository contains ready-to-use Java snippets to help you get started with Aspose.HTML for Java: apply a license, use metered licensing, and convert HTML to PDF. These examples are used in the Getting Started chapter of the documentation and are intended for quick experimentation and learning.
- Apply license files from disk or stream.
- Use metered licensing with public/private keys.
- Convert HTML to PDF and other formats.
- J2SE 1.8 or higher.
- Supported OS: Windows, macOS, Linux.
- Java IDE (IntelliJ IDEA, Eclipse, or similar).
- Build tool: Maven or Gradle for dependency management.
- Install or reference Aspose.HTML for Java in your project – download packages and view release notes on the product releases page.
- Configure the Aspose repository and add the Aspose.HTML dependency as described in the official installation guide.
- Browse the available gists and copy the code samples you need.
- Open the example files in your IDE, update file paths or output locations, and run the samples.
You can evaluate Aspose.HTML for Java with a temporary license (30-day full-feature trial). For production use, apply a purchased license or use metered licensing as shown in the examples.