IFilterAddToolDefinitionRect(IODBLayer, Int32, Single, Single, Boolean) Method
Create a Rectangle tool with option of corners.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static int AddToolDefinitionRect(
IODBLayer Layer,
int ToolNr,
float width,
float height,
bool useExistingTools = true
)
Public Shared Function AddToolDefinitionRect (
Layer As IODBLayer,
ToolNr As Integer,
width As Single,
height As Single,
Optional useExistingTools As Boolean = true
) As Integer
public:
static int AddToolDefinitionRect(
IODBLayer^ Layer,
int ToolNr,
float width,
float height,
bool useExistingTools = true
)
static member AddToolDefinitionRect :
Layer : IODBLayer *
ToolNr : int *
width : float32 *
height : float32 *
?useExistingTools : bool
(* Defaults:
let _useExistingTools = defaultArg useExistingTools true
*)
-> int
- Layer IODBLayer
- The name of the current layer
- ToolNr Int32
- nr of the tooldefinition
- width Single
- the width of the tool
- height Single
- the hight of the tool
- useExistingTools Boolean (Optional)
-
Int32the index after check the nr of tooldefinition