---
Product: Aspose.Slides
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/java/template
---

# Template — Aspose.Slides FOSS Java API Reference

## Overview

`Template` pPTX template loading. Browse the properties and methods in the tables below to understand the complete public API surface of this type. All members listed here are part of the stable public API and may be used in production code targeting the FOSS edition. Refer to the package documentation for installation instructions and a complete list of related types.

**Package**: `org.aspose.slides.foss.internal.pptx`

---

## Properties

| Property | Type | Access | Description |
|---|---|---|---|
| `templatePath` | `String` | Read | The template path value. |
| `TEMPLATE_RESOURCE` | `String` | Read | |

---

## Methods

| Method | Returns | Description |
|---|---|---|
| `getTemplatePath()` | `String` | Get a path description for the template resource (for error messages). |
| `loadTemplate(OpcPackage targetPackage)` | `void` | Load the Template. |

---

## See Also

- [Aspose.Slides FOSS Java API Reference home](/slides/java/)
- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)