add_active_x_control method

add_active_x_control(type, pin_x, pin_y, width, height)

Creates an Activex Control.

Returns

def add_active_x_control(self, type, pin_x, pin_y, width, height):
    ...
ParameterTypeDescription
typeaspose.diagram.activexcontrols.ControlTypeThe type of the control.
pin_xfloatSpecifies the x-coordinate of the shape’s pin (center of rotation) in relation to the page.
pin_yfloatSpecifies the y-coordinate of the shape’s pin (center of rotation) in relation to the page.
widthfloatSpecifies the width of the shape in inches.
heightfloatSpecifies the height of the shape in inches.

See Also