- Contents
DesignerCOM API
II3IDHandler::InsertSubroutineStep Method
Synopsis
This method inserts a subroutine step into a handler.
IDL Function Prototype
HRESULT InsertSubroutineStep(
[in] VARIANT SubroutineToInsert,
[in, defaultvalue(0)] long XPos,
[in, defaultvalue(0)] long YPos,
[out, retval] II3IDStep ** NewStep
);
C/C++ Syntax
HRESULT InsertSubroutineStep(VARIANT SubroutineToInsert, long XPos, long YPos, II3IDStep ** NewStep);
Parameters
- SubroutineToInsert
-
SubroutineToInsert can be a VT_UNKNOWN or VT_DISPATCH interface pointer to an existing II3IDSubroutine. You may also submit a VT_BSTR identifying the subroutine by name.
- XPos
-
The horizontal position of the subroutine step. The default value is 0.
- YPos
-
The vertical position of the subroutine step. The default value is 0.
- NewStep
-
The return value is an II3IDStep object.