Aspose::Page::XPS::Features::EventBasedModifications::PageAPI class
Contents
[
Hide
]PageAPI class
The Page element modification API.
class PageAPI : public Aspose::Page::XPS::Features::EventBasedModifications::IModificationAPI
Methods
Method | Description |
---|---|
Add(T) | Adds a content element (Canvas, Path, or Glyphs). |
AddCanvas() | Adds a new canvas to the page. |
AddGlyphs(System::String, float, System::Drawing::FontStyle, float, float, System::String) | Adds new glyphs to the page. |
AddGlyphs(System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsFont>, float, float, float, System::String) | Adds new glyphs to the page. |
AddOutlineEntry(System::String, int32_t, int32_t) | Adds an outline entry to the document. |
AddPath(System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsPathGeometry>) | Adds a new path to the page. |
CreateArcSegment(System::Drawing::PointF, System::Drawing::SizeF, float, bool, Aspose::Page::XPS::XpsModel::XpsSweepDirection, bool) | Creates a new elliptical arc segment. |
CreateCanvas() | Creates a new canvas. |
CreateColor(System::Drawing::Color) | Creates a new color. |
CreateColor(int32_t, int32_t, int32_t, int32_t) | Creates a new color in sRGB color space. |
CreateColor(int32_t, int32_t, int32_t) | Creates a new color in sRGB color space. |
CreateColor(float, float, float, float) | Creates a new color in scRGB color space. |
CreateColor(float, float, float) | Creates a new color in scRGB color space. |
CreateColor(System::String, const System::ArrayPtr<float>&) | Creates a new color in ICC based color space. |
CreateColor(System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsIccProfile>, const System::ArrayPtr<float>&) | Creates a new color in ICC based color space. |
CreateGlyphs(System::String, float, System::Drawing::FontStyle, float, float, System::String) | Creates new glyphs. |
CreateGlyphs(System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsFont>, float, float, float, System::String) | Creates new glyphs. |
CreateGradientStop(System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsColor>, float) | Creates a new gradient stop. |
CreateGradientStop(System::Drawing::Color, float) | Creates a new gradient stop. |
CreateImageBrush(System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsImage>, System::Drawing::RectangleF, System::Drawing::RectangleF) | Creates a new image brush. |
CreateImageBrush(System::String, System::Drawing::RectangleF, System::Drawing::RectangleF) | Creates a new image brush. |
CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF) | Creates a new linear gradient brush. |
CreateLinearGradientBrush(System::Drawing::PointF, System::Drawing::PointF) | Creates a new linear gradient brush. |
CreateMatrix(float, float, float, float, float, float) | Creates a new affine transformation matrix. |
CreatePath(System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsPathGeometry>) | Creates a new path. |
CreatePathFigure(System::Drawing::PointF, bool) | Creates a new path figure. |
CreatePathFigure(System::Drawing::PointF, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsPathSegment>>>, bool) | Creates a new path figure. |
CreatePathGeometry(System::String) | Creates a new path geometry specified with abbreviated form. |
CreatePathGeometry() | Creates a new path geometry. |
CreatePathGeometry(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsPathFigure>>>) | Creates a new path geometry with specified list of path figures. |
CreatePolyBezierSegment(System::ArrayPtr<System::Drawing::PointF>, bool) | Creates a new set of cubic Bézier curves. |
CreatePolyLineSegment(System::ArrayPtr<System::Drawing::PointF>, bool) | Creates a new polygonal drawing containing an arbitrary number of individual vertices. |
CreatePolyQuadraticBezierSegment(System::ArrayPtr<System::Drawing::PointF>, bool) | Creates a new set of quadratic Bézier curves from the previous point in the path figure through a set of vertices, using specified control points. |
CreateRadialGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF, float, float) | Creates a new radial gradient brush. |
CreateRadialGradientBrush(System::Drawing::PointF, System::Drawing::PointF, float, float) | Creates a new radial gradient brush. |
CreateSolidColorBrush(System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsColor>) | Creates a new solid color brush. |
CreateSolidColorBrush(System::Drawing::Color) | Creates a new solid color brush. |
CreateVisualBrush(System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsContentElement>, System::Drawing::RectangleF, System::Drawing::RectangleF) | Creates a new visual brush. |
get_Height() | Returns/sets the height of the page, expressed as a real number in units of the effective coordinate space. |
get_PageCount() | Returns the number of pages in the active document. |
get_TotalPageCount() | Returns the total number of pages in all documents inside XPS document. |
get_Utils() | Gets the object that provides utilities beyond the formal XPS manipulation API. |
get_Width() | Returns/sets the width of the page, expressed as a real number in units of the effective coordinate space. |
Insert(int32_t, T) | Inserts an element (Canvas, Path, or Glyphs) to the page at index position. |
InsertCanvas(int32_t) | Inserts a new canvas to the page at index position. |
InsertGlyphs(int32_t, System::String, float, System::Drawing::FontStyle, float, float, System::String) | Inserts new glyphs to the page at index position. |
InsertGlyphs(int32_t, System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsFont>, float, float, float, System::String) | Inserts new glyphs to the page at index position. |
InsertPath(int32_t, System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsPathGeometry>) | Inserts a new path to the page at index position. |
Remove(T) | Removes an element from the page. |
RemoveAt(int32_t) | Removes an element at index position from the page. |
set_Height(float) | Returns/sets the height of the page, expressed as a real number in units of the effective coordinate space. |
set_Width(float) | Returns/sets the width of the page, expressed as a real number in units of the effective coordinate space. |
See Also
- Class IModificationAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++