IFilterAddToolDefinitionRect(IODBLayer, Double, Double, Double, Boolean, Boolean, Boolean, Boolean) Method

Create a Rectangle tool with rounded corners.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static int AddToolDefinitionRect(
	IODBLayer Layer,
	double height,
	double width,
	double radiusCorners,
	bool cornerRightUp,
	bool cornerLeftUp,
	bool cornerLeftDown,
	bool cornerRightDown
)

Parameters

Layer  IODBLayer
The name of the current layer.
height  Double
The hight of the tool.
width  Double
The width of the tool.
radiusCorners  Double
Radius for corners.
cornerRightUp  Boolean
Corner in upper right corner rounded?
cornerLeftUp  Boolean
Corner in upper left corner rounded?
cornerLeftDown  Boolean
Corner in lower left corner rounded?
cornerRightDown  Boolean
Corner in lower right corner rounded?

Return Value

Int32
The index after check the nr of tooldefinition

See Also