Page.AddActiveXControl

Page.AddActiveXControl method

Creates an Activex Control.

public long AddActiveXControl(ControlType type, double pinX, double pinY, double width, 
    double height)
ParameterTypeDescription
typeControlTypeThe type of the control.
pinXDoubleSpecifies the x-coordinate of the shape’s pin (center of rotation) in relation to the page.
pinYDoubleSpecifies the y-coordinate of the shape’s pin (center of rotation) in relation to the page.
widthDoubleSpecifies the width of the shape in inches.
heightDoubleSpecifies the height of the shape in inches.

See Also