Page.AddShape
Contents
[
Hide
]AddShape(double, double, string)
Adds shape created by master on page with defined PinX and PinY.
public long AddShape(double pinX, double pinY, string masterName)
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. |
masterName | String | Master’s name. |
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
AddShape(double, double, double, double, string)
Adds shape created by master on page with defined PinX,PinY,Width and Height.
public long AddShape(double pinX, double pinY, double width, double height, string masterName)
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 in inches. |
height | Double | Specifies the height of the shape in inches. |
masterName | String | Master’s name. |
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
AddShape(double, double, double, double, Stream, Stream)
public long AddShape(double pinX, double pinY, double width, double height, Stream imageStream,
Stream objectDataStream)
See Also
- class Page
- namespace Aspose.Diagram
- assembly Aspose.Diagram
AddShape(double, double, double, double, Stream)
public long AddShape(double pinX, double pinY, double width, double height, Stream stream)
See Also
- class Page
- namespace Aspose.Diagram
- assembly Aspose.Diagram
AddShape(Shape, string)
Adds shape created by master to specific page.
public long AddShape(Shape newShape, string masterName)
Parameter | Type | Description |
---|---|---|
newShape | Shape | New shape objectShape . |
masterName | String | Master’s name. |
Return Value
The unique ID of the shape within shapes collection on the specified page.
See Also
- class Shape
- class Page
- namespace Aspose.Diagram
- assembly Aspose.Diagram