IFilterAddToolDefinitionRect(IODBLayer, Int32, Single, Single, Boolean) Method

Create a Rectangle tool with option of corners.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static int AddToolDefinitionRect(
	IODBLayer Layer,
	int ToolNr,
	float width,
	float height,
	bool useExistingTools = true
)

Parameters

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)
 

Return Value

Int32
the index after check the nr of tooldefinition

See Also