| Package | Description |
|---|---|
| com.aspose.xps |
The com.aspose.xps is a root package for all classes that deal with XPS document.
|
| com.aspose.xps.features.EventBasedModifications |
The com.aspose.xps.features.EventBasedModifications package provides classes related to event-based modifications of XPS documents.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XpsCanvas
Class incapsulating Canvas element features.
|
class |
XpsGlyphs
Class incapsulating Glyphs element features.
|
class |
XpsPath
Class incapsulating Path element features.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends XpsContentElement> |
XpsCanvas.add(T element)
Adds an element to this canvas's child list.
|
<T extends XpsContentElement> |
XpsDocument.add(T element)
Adds a content element (Canvas, Path, or Glyphs)
|
<T extends XpsContentElement> |
XpsCanvas.insert(int index,
T element)
Inserts an element to this canvas's child list at
index position. |
<T extends XpsContentElement> |
XpsDocument.insert(int index,
T element)
Inserts an element (Canvas, Path, or Glyphs) to the active page at
index position. |
<T extends XpsContentElement> |
XpsDocument.remove(T element)
Removes an element from the active page.
|
| Modifier and Type | Method and Description |
|---|---|
XpsContentElement |
XpsElement.get(int i)
Provides access to element's children by index
i. |
XpsContentElement |
XpsVisualBrush.getVisual()
Returns a Path, Glyphs, or Canvas element used to draw the brush’s source content.
|
XpsContentElement |
XpsDocument.removeAt(int index)
Removes an element at
index position from the active page. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<XpsContentElement> |
XpsElement.iterator()
Implementation of
Iterable<XpsElement> interface. |
| Modifier and Type | Method and Description |
|---|---|
XpsVisualBrush |
XpsDocument.createVisualBrush(XpsContentElement element,
Rectangle2D viewbox,
Rectangle2D viewport)
Creates a new visual brush.
|
void |
XpsVisualBrush.setVisual(XpsContentElement visual)
Sets
visual as Visual element of visual brush. |
| Modifier and Type | Method and Description |
|---|---|
<T extends XpsContentElement> |
PageAPI.add(T element)
Adds a content element (Canvas, Path, or Glyphs)
|
<T extends XpsContentElement> |
PageAPI.insert(int index,
T element)
Inserts an element (Canvas, Path, or Glyphs) to the page at
index position. |
<T extends XpsContentElement> |
PageAPI.remove(T element)
Removes an element from the page.
|
| Modifier and Type | Method and Description |
|---|---|
XpsContentElement |
PageAPI.removeAt(int index)
Removes an element at
index position from the page. |
| Modifier and Type | Method and Description |
|---|---|
XpsVisualBrush |
PageAPI.createVisualBrush(XpsContentElement element,
Rectangle2D viewbox,
Rectangle2D viewport)
Creates a new visual brush.
|
Copyright © 2025 Aspose. All Rights Reserved.