Class DocumentUtils
名称: Aspose.Page.XPS 集合: Aspose.Page.dll (25.4.0)
此类提供超越正式的XPS操作API的工具。
public class DocumentUtils
Inheritance
继承人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
CreateCircle(PointF,浮动)
创建一个路径地质,代表一个循环。
public XpsPathGeometry CreateCircle(PointF center, float radius)
Parameters
center
PointF
循环的中心点。
radius
float
循环的射线。
Returns
XPS路径地质学。
CreateCircularSegment(航海、航海、航海、航海)
创建一个路径地质,代表两个角之间的圆形部分。
public XpsPathGeometry CreateCircularSegment(PointF center, float radius, float startAngle, float endAngle)
Parameters
center
PointF
循环的中心。
radius
float
循环的射线。
startAngle
float
起点角度。
endAngle
float
最后的角度。
Returns
XPS路径地质学。
CreateEllipse(航海,航海,航海)
创建一个路径地质,代表一个精子。
public XpsPathGeometry CreateEllipse(PointF center, float radiusX, float radiusY)
Parameters
center
PointF
是精灵的中心点。
radiusX
float
以色列的垂直射线。
radiusY
float
直径的垂直射线。
Returns
XPS路径地质学。
CreateImage(字符串, RectangleF, ImageMode)
创建一个直角路径,充满了图像。
public XpsPath CreateImage(string fileName, RectangleF imageBox, ImageMode mode = ImageMode.FitToBox)
Parameters
fileName
string
图片文件的名称。
imageBox
RectangleF
图像框以填写图像。
mode
ImageMode
图像适合模式。
Returns
XPS路线。
CreatePieSlice(航海、航海、航海、航海)
创建一个路径地质,代表两个辐射之间的循环滑板。
public XpsPathGeometry CreatePieSlice(PointF center, float radius, float startAngle, float endAngle)
Parameters
center
PointF
循环的中心。
radius
float
循环的射线。
startAngle
float
开端射线的角度。
endAngle
float
终点雷的角度。
Returns
XPS路径地质学。
CreateRectangle(直角)
创建一个路径地质,代表一个直角。
public XpsPathGeometry CreateRectangle(RectangleF rectangle)
Parameters
rectangle
RectangleF
直角。
Returns
XPS路径地质学。
创建规则 编辑(int , PointF , float)
创建一个路径地质,代表一个圆圈周围的常规n-gon。
public XpsPathGeometry CreateRegularCircumscribedNGon(int n, PointF center, float radius)
Parameters
n
int
垂直的数量。
center
PointF
循环的中心。
radius
float
循环的射线。
Returns
XPS路径地质学。
创建规则 未登记(int , PointF , float)
创建一个路径地质,代表一个常规的n-gon记录在一个循环。
public XpsPathGeometry CreateRegularInscribedNGon(int n, PointF center, float radius)
Parameters
n
int
垂直的数量。
center
PointF
循环的中心。
radius
float
循环的射线。
Returns
XPS路径地质学。