Class XpsCanvas
Contents
[
Hide
]XpsCanvas class
Class incapsulating Canvas element features. This element groups elements together. For example, Glyphs and Path elements can be grouped in a canvas in order to be identified as a unit (as a hyperlink destination) or to apply a composed property value to each child and ancestor element.
public sealed class XpsCanvas : XpsContentElement
Properties
Name | Description |
---|---|
Clip { get; set; } | Returns/sets the path geometry instance limiting the rendered region of the element. |
Count { get; } | Returns number of child elements. |
EdgeMode { get; set; } | Returns/sets the value that controls how edges of paths within the canvas are rendered. |
HyperlinkTarget { get; set; } | Returns/sets hyperlink target object. |
Item { get; } | Provides access to element’s children by index i. |
Opacity { get; set; } | Returns/sets the value defining the uniform transparency of the element. |
OpacityMask { get; set; } | Returns/sets the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element. |
RenderTransform { get; set; } | Returns/sets the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any). |
Methods
Name | Description |
---|---|
Add<T>(T) | Adds an element to this canvas’s child list. |
AddCanvas() | Adds a new canvas to this canvas’s child list. |
AddGlyphs(string, float, FontStyle, float, float, string) | Adds new glyphs to this canvas’s child list. |
AddPath(XpsPathGeometry) | Adds a new path to this canvas’s child list. |
Clone() | Clones this canvas. |
GetEnumerator() | Implementation of IEnumerable interface. |
Insert<T>(int, T) | Inserts an element to this canvas’s child list at index position. |
InsertCanvas(int) | Inserts a new canvas to this canvas’s child list at index position. |
InsertGlyphs(int, string, float, FontStyle, float, float, string) | Inserts new glyphs to this canvas’s child list at index position. |
InsertPath(int, XpsPathGeometry) | Inserts a new path to this canvas’s child list at index position. |
See Also
- class XpsContentElement
- namespace Aspose.Page.XPS.XpsModel
- assembly Aspose.Page