Class DocumentUtils
Namespace: Aspose.Page.XPS
Assembly: Aspose.Page.dll (25.1.2)
Bu sınıf, resmi XPS manipülasyon API’sinin ötesinde yardımcı işlevler sağlar.
public class DocumentUtils
Kalıtım
Kalıtılan Üyeler
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Yöntemler
CreateCircle(PointF, float)
Bir daireyi temsil eden bir yol geometrisi oluşturur.
public XpsPathGeometry CreateCircle(PointF center, float radius)
Parametreler
center
PointF
Dairenin merkez noktası.
radius
float
Dairenin yarıçapı.
Döner
XPS yol geometrisi.
CreateCircularSegment(PointF, float, float, float)
İki açı arasındaki dairesel segmenti temsil eden bir yol geometrisi oluşturur.
public XpsPathGeometry CreateCircularSegment(PointF center, float radius, float startAngle, float endAngle)
Parametreler
center
PointF
Dairenin merkezi.
radius
float
Dairenin yarıçapı.
startAngle
float
Başlangıç açısı.
endAngle
float
Bitiş açısı.
Döner
XPS yol geometrisi.
CreateEllipse(PointF, float, float)
Bir elipsi temsil eden bir yol geometrisi oluşturur.
public XpsPathGeometry CreateEllipse(PointF center, float radiusX, float radiusY)
Parametreler
center
PointF
Elipsin merkez noktası.
radiusX
float
Elipsin yatay yarıçapı.
radiusY
float
Elipsin dikey yarıçapı.
Döner
XPS yol geometrisi.
CreateImage(string, RectangleF, ImageMode)
Bir resmi dolduran dikdörtgen bir yol oluşturur.
public XpsPath CreateImage(string fileName, RectangleF imageBox, ImageMode mode = ImageMode.FitToBox)
Parametreler
fileName
string
Resim dosyasının adı.
imageBox
RectangleF
Resimle doldurulacak resim kutusu.
mode
ImageMode
Resim uyum modu.
Döner
XPS yolu.
CreatePieSlice(PointF, float, float, float)
İki radyal ışın arasındaki daire dilimini temsil eden bir yol geometrisi oluşturur.
public XpsPathGeometry CreatePieSlice(PointF center, float radius, float startAngle, float endAngle)
Parametreler
center
PointF
Dairenin merkezi.
radius
float
Dairenin yarıçapı.
startAngle
float
Başlangıç ışınının açısı.
endAngle
float
Bitiş ışınının açısı.
Döner
XPS yol geometrisi.
CreateRectangle(RectangleF)
Bir dikdörtgeni temsil eden bir yol geometrisi oluşturur.
public XpsPathGeometry CreateRectangle(RectangleF rectangle)
Parametreler
rectangle
RectangleF
Dikdörtgen.
Döner
XPS yol geometrisi.
CreateRegularCircumscribedNGon(int, PointF, float)
Bir daire etrafında çizilen düzenli bir n-geni temsil eden bir yol geometrisi oluşturur.
public XpsPathGeometry CreateRegularCircumscribedNGon(int n, PointF center, float radius)
Parametreler
n
int
Köşe sayısı.
center
PointF
Dairenin merkezi.
radius
float
Dairenin yarıçapı.
Döner
XPS yol geometrisi.
CreateRegularInscribedNGon(int, PointF, float)
Bir daire içine çizilen düzenli bir n-geni temsil eden bir yol geometrisi oluşturur.
public XpsPathGeometry CreateRegularInscribedNGon(int n, PointF center, float radius)
Parametreler
n
int
Köşe sayısı.
center
PointF
Dairenin merkezi.
radius
float
Dairenin yarıçapı.
Döner
XPS yol geometrisi.