IFilterAddToolDefinitionOct(IODBLayer, Single, Single, Single, Single, Int32) Method
Adds a octagon tool definition
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static int AddToolDefinitionOct(
IODBLayer Layer,
float diameter,
float octagonHeight,
float octagonWidth,
float corners,
int ToolNr = 0
)
Public Shared Function AddToolDefinitionOct (
Layer As IODBLayer,
diameter As Single,
octagonHeight As Single,
octagonWidth As Single,
corners As Single,
Optional ToolNr As Integer = 0
) As Integer
public:
static int AddToolDefinitionOct(
IODBLayer^ Layer,
float diameter,
float octagonHeight,
float octagonWidth,
float corners,
int ToolNr = 0
)
static member AddToolDefinitionOct :
Layer : IODBLayer *
diameter : float32 *
octagonHeight : float32 *
octagonWidth : float32 *
corners : float32 *
?ToolNr : int
(* Defaults:
let _ToolNr = defaultArg ToolNr 0
*)
-> int
- Layer IODBLayer
- The name of the current layer.
- diameter Single
- Diameter for the tool.
- octagonHeight Single
- the hight of the tool
- octagonWidth Single
- the width of the tool
- corners Single
- the corner value
- ToolNr Int32 (Optional)
- nr of the tooldefinition
Int32The index after check the nr of tooldefinition.