IFilterAddToolDefinitionRectCorners Method
Create a Rectangle tool with option of corners.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static int AddToolDefinitionRectCorners(
IODBLayer Layer,
double diameter,
double height,
double width,
double cornerRadius,
bool rounded
)
Public Shared Function AddToolDefinitionRectCorners (
Layer As IODBLayer,
diameter As Double,
height As Double,
width As Double,
cornerRadius As Double,
rounded As Boolean
) As Integer
public:
static int AddToolDefinitionRectCorners(
IODBLayer^ Layer,
double diameter,
double height,
double width,
double cornerRadius,
bool rounded
)
static member AddToolDefinitionRectCorners :
Layer : IODBLayer *
diameter : float *
height : float *
width : float *
cornerRadius : float *
rounded : bool -> int
- Layer IODBLayer
- The name of the current layer
- diameter Double
- dimeter for the tool
- height Double
- the hight of the tool
- width Double
- the width of the tool
- cornerRadius Double
- Corner radius means the distance from the corner to the inner point of starting the connection to the other side (arc or line).
- rounded Boolean
- corners are rounded?
Int32the index after check the nr of tooldefinition