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

Create a Rectangle tool.

Definition

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

Parameters

Layer  IODBLayer
The name of the current layer
diameter  Single
dimeter for the tool
height  Single
the hight of the tool
width  Single
the width of the tool
rounded  Boolean
corners are rounded?

Return Value

Int32
the index after check the nr of tooldefinition

See Also