Aspose::Page::XPS::XpsModel::XpsCanvas class

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.

class XpsCanvas : public Aspose::Page::XPS::XpsModel::XpsContentElement

Methods

MethodDescription
Add(T)Adds an element to this canvas’s child list.
AddCanvas()Adds a new canvas to this canvas’s child list.
AddGlyphs(System::String, float, System::Drawing::FontStyle, float, float, System::String)Adds new glyphs to this canvas’s child list.
AddPath(System::SharedPtr<XpsPathGeometry>)Adds a new path to this canvas’s child list.
Clone()Clones this canvas.
get_EdgeMode() constReturns/sets the value that controls how edges of paths within the canvas are rendered.
Insert(int32_t, T)Inserts an element to this canvas’s child list at index position.
InsertCanvas(int32_t)Inserts a new canvas to this canvas’s child list at index position.
InsertGlyphs(int32_t, System::String, float, System::Drawing::FontStyle, float, float, System::String)Inserts new glyphs to this canvas’s child list at index position.
InsertPath(int32_t, System::SharedPtr<XpsPathGeometry>)Inserts a new path to this canvas’s child list at index position.
set_EdgeMode(XpsEdgeMode)Returns/sets the value that controls how edges of paths within the canvas are rendered.

See Also