Aspose::Page::XPS::Features::EventBasedModifications::PageAPI class
内容
[
隐藏
]PageAPI class
The Page 元素修改 API。
class PageAPI : public Aspose::Page::XPS::Features::EventBasedModifications::IModificationAPI
方法
| 方法 | 描述 |
|---|---|
| Add(T) | 添加一个内容元素(Canvas、Path 或 Glyphs)。 |
| AddCanvas() | 向页面添加一个新的 canvas。 |
| AddGlyphs(System::String, float, System::Drawing::FontStyle, float, float, System::String) | 向页面添加新的 glyphs。 |
| AddGlyphs(System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String) | 向页面添加新的 glyphs。 |
| AddOutlineEntry(System::String, int32_t, int32_t) | 向文档添加大纲条目。 |
| AddPath(System::SharedPtr<XpsModel::XpsPathGeometry>) | 向页面添加一个新的 path。 |
| CreateArcSegment(System::Drawing::PointF, System::Drawing::SizeF, float, bool, XpsModel::XpsSweepDirection, bool) | 创建一个新的椭圆弧段。 |
| CreateCanvas() | 创建一个新的 canvas。 |
| CreateColor(System::Drawing::Color) | 创建一种新颜色。 |
| CreateColor(int32_t, int32_t, int32_t, int32_t) | 在 sRGB 颜色空间中创建一种新颜色。 |
| CreateColor(int32_t, int32_t, int32_t) | 在 sRGB 颜色空间中创建一种新颜色。 |
| CreateColor(float, float, float, float) | 在 scRGB 颜色空间中创建一种新颜色。 |
| CreateColor(float, float, float) | 在 scRGB 颜色空间中创建一种新颜色。 |
| CreateColor(System::String, const System::ArrayPtr<float>&) | 在基于 ICC 的颜色空间中创建一种新颜色。 |
| CreateColor(System::SharedPtr<XpsModel::XpsIccProfile>, const System::ArrayPtr<float>&) | 在基于 ICC 的颜色空间中创建一种新颜色。 |
| CreateGlyphs(System::String, float, System::Drawing::FontStyle, float, float, System::String) | 创建新的 glyphs。 |
| CreateGlyphs(System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String) | 创建新的 glyphs。 |
| CreateGradientStop(System::SharedPtr<XpsModel::XpsColor>, float) | 创建一个新的渐变停止点。 |
| CreateGradientStop(System::Drawing::Color, float) | 创建一个新的渐变停止点。 |
| CreateImageBrush(System::SharedPtr<XpsModel::XpsImage>, System::Drawing::RectangleF, System::Drawing::RectangleF) | 创建一个新的图像画刷。 |
| CreateImageBrush(System::String, System::Drawing::RectangleF, System::Drawing::RectangleF) | 创建一个新的图像画刷。 |
| CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF) | 创建一个新的线性渐变画刷。 |
| CreateLinearGradientBrush(System::Drawing::PointF, System::Drawing::PointF) | 创建一个新的线性渐变画刷。 |
| CreateMatrix(float, float, float, float, float, float) | 创建一个新的仿射变换矩阵。 |
| CreatePath(System::SharedPtr<XpsModel::XpsPathGeometry>) | 创建一个新的路径。 |
| CreatePathFigure(System::Drawing::PointF, bool) | 创建一个新的路径图形。 |
| CreatePathFigure(System::Drawing::PointF, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>>, bool) | 创建一个新的路径图形。 |
| CreatePathGeometry(System::String) | 创建一个使用简写形式指定的新的路径几何体。 |
| CreatePathGeometry() | 创建一个新的路径几何体。 |
| CreatePathGeometry(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathFigure>>>) | 创建一个包含指定路径图形列表的新的路径几何体。 |
| CreatePolyBezierSegment(System::ArrayPtr<System::Drawing::PointF>, bool) | 创建一组新的三次贝塞尔曲线。 |
| CreatePolyLineSegment(System::ArrayPtr<System::Drawing::PointF>, bool) | 创建一个包含任意数量独立顶点的新的多边形绘图。 |
| CreatePolyQuadraticBezierSegment(System::ArrayPtr<System::Drawing::PointF>, bool) | 创建一组新的二次贝塞尔曲线,从路径图形中的前一点通过一组顶点,并使用指定的控制点。 |
| CreateRadialGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF, float, float) | 创建一个新的径向渐变画刷。 |
| CreateRadialGradientBrush(System::Drawing::PointF, System::Drawing::PointF, float, float) | 创建一个新的径向渐变画刷。 |
| CreateSolidColorBrush(System::SharedPtr<XpsModel::XpsColor>) | 创建一个新的纯色画刷。 |
| CreateSolidColorBrush(System::Drawing::Color) | 创建一个新的纯色画刷。 |
| CreateVisualBrush(System::SharedPtr<XpsModel::XpsContentElement>, System::Drawing::RectangleF, System::Drawing::RectangleF) | 创建一个新的视觉画刷。 |
| get_Height() | 返回/设置页面的高度,以有效坐标空间的单位表示的实数。 |
| get_PageCount() | 返回活动文档中的页数。 |
| get_TotalPageCount() | 返回所有文档中 XPS 文档的总页数。 |
| get_Utils() | 获取提供超出正式 XPS 操作 API 的实用功能的对象。 |
| get_Width() | 返回/设置页面的宽度,以有效坐标空间的单位表示的实数。 |
| Insert(int32_t, T) | 在 index 位置向页面插入一个元素(Canvas、Path 或 Glyphs)。 |
| InsertCanvas(int32_t) | 在 index 位置向页面插入一个新的 Canvas。 |
| InsertGlyphs(int32_t, System::String, float, System::Drawing::FontStyle, float, float, System::String) | 在 index 位置向页面插入新的 Glyphs。 |
| InsertGlyphs(int32_t, System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String) | 在 index 位置向页面插入新的 Glyphs。 |
| InsertPath(int32_t, System::SharedPtr<XpsModel::XpsPathGeometry>) | 在 index 位置向页面插入一个新的路径。 |
| Remove(T) | 从页面中移除一个元素。 |
| RemoveAt(int32_t) | 从页面的 index 位置移除一个元素。 |
| set_Height(float) | 返回/设置页面的高度,以有效坐标空间的单位表示的实数。 |
| set_Width(float) | 返回/设置页面的宽度,以有效坐标空间的单位表示的实数。 |
另见
- Class IModificationAPI
- Namespace Aspose::Page::XPS::Features::EventBasedModifications
- Library Aspose.Page for C++