DrawLine
Contents
[
Hide
]
DrawLine(double, double, double, double)
The process of drawing a single line.
public long DrawLine(double beginX, double beginY, double endX, double endY)
Parameter | Type | Description |
---|---|---|
beginX | Double | Specifies the begin x-coordinate of the shape’s position in relation to the page. |
beginY | Double | Specifies the begin y-coordinate of the shape’s position in relation to the page. |
endX | Double | Specifies the end x-coordinate of the shape’s position in relation to the page. |
endY | Double | Specifies the end y-coordinate of the shape’s position in relation to the page. |
Return Value
The unique ID of the shape within shapes collection on the specified page.
See Also
- class Page
- namespace Aspose.Diagram
- assembly Aspose.Diagram
DrawLine(double, double, double, double, double[])
The process of drawing line.
public long DrawLine(double pinX, double pinY, double width, double height, double[] xyArray)
Parameter | Type | Description |
---|---|---|
pinX | Double | Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the page. |
pinY | Double | Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the page. |
width | Double | Specifies the width of the shape |
height | Double | Specifies the height of the shape |
xyArray | Double[] | An array of alternating x and y values that defines points in the new shape |
Return Value
The unique ID of the shape within shapes collection on the specified page.
See Also
- class Page
- namespace Aspose.Diagram
- assembly Aspose.Diagram
DrawLine(double, double, double, double, PointF[])
The process of drawing line.
public long DrawLine(double pinX, double pinY, double width, double height, PointF[] points)
Parameter | Type | Description |
---|---|---|
pinX | Double | Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the page. |
pinY | Double | Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the page. |
width | Double | Specifies the width of the shape |
height | Double | Specifies the height of the shape |
points | PointF[] | Specifies the points of the line |
Return Value
The unique ID of the shape within shapes collection on the specified page.
See Also
- class Page
- namespace Aspose.Diagram
- assembly Aspose.Diagram