AddShape

Page.AddShape method (1 of 5)

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


Page.AddShape method (2 of 5)

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


Page.AddShape method (3 of 5)

public long AddShape(double pinX, double pinY, double width, double height, Stream imageStream, 
    Stream objectDataStream)

See Also


Page.AddShape method (4 of 5)

public long AddShape(double pinX, double pinY, double width, double height, Stream stream)

See Also


Page.AddShape method (5 of 5)

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