- Contents
DesignerCOM API
II3IDHandler::InsertToolStep Method
Synopsis
This method inserts a tool step into a handler.
IDL Function Prototype
HRESULT InsertToolStep(
[in] VARIANT ToolToInsert,
[in, defaultvalue(0)] long XPos,
[in, defaultvalue(0)] long YPos,
[out, retval] II3IDStep ** NewStep
);
C/C++ Syntax
HRESULT InsertToolStep(VARIANT ToolToInsert, long XPos, long YPos, II3IDStep ** NewStep);
Parameters
- ToolToInsert
-
ToolToInsert can be a VT_UNKNOWN or VT_DISPATCH interface pointer to an existing II3IDTool. You may also submit a VT_BSTR with the following format: <ToolModule>::<ToolName>
- XPos
-
The horizontal position of the tool step. The default value is 0.
- YPos
-
The vertical position of the tool step. The default value is 0.
- NewStep
-
The return value is an II3IDStep object.