GetGeometryPaths
GeometryShape.GetGeometryPaths Methode
Gibt eine Kopie des Pfades der geometrischen Form zurück. Die Koordinaten beziehen sich auf die linke obere Ecke der Form.
public IGeometryPath[] GetGeometryPaths()
Rückgabewert
Array von IGeometryPath
Beispiele
Beispiel:
[C#]
using (Presentation pres = new Presentation())
{
GeometryShape shape = pres.Slides[0].Shapes.AddAutoShape(ShapeType.Rectangle, 100, 100, 200, 100) as GeometryShape;
IGeometryPath geometryPath = shape.GetGeometryPaths()[0];
geometryPath.LineTo(100, 50, 1);
geometryPath.LineTo(100, 50, 4);
shape.SetGeometryPath(geometryPath);
pres.Save("output.pptx", SaveFormat.Pptx);
}
Siehe Auch
- interface IGeometryPath
- class GeometryShape
- namespace Aspose.Slides
- assembly Aspose.Slides