IFilterAddToolDefinitionRect(IODBLayer, Double, Double, Double, Boolean, Boolean, Boolean, Boolean) Method
Create a Rectangle tool with rounded corners.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static int AddToolDefinitionRect(
IODBLayer Layer,
double height,
double width,
double radiusCorners,
bool cornerRightUp,
bool cornerLeftUp,
bool cornerLeftDown,
bool cornerRightDown
)
Public Shared Function AddToolDefinitionRect (
Layer As IODBLayer,
height As Double,
width As Double,
radiusCorners As Double,
cornerRightUp As Boolean,
cornerLeftUp As Boolean,
cornerLeftDown As Boolean,
cornerRightDown As Boolean
) As Integer
public:
static int AddToolDefinitionRect(
IODBLayer^ Layer,
double height,
double width,
double radiusCorners,
bool cornerRightUp,
bool cornerLeftUp,
bool cornerLeftDown,
bool cornerRightDown
)
static member AddToolDefinitionRect :
Layer : IODBLayer *
height : float *
width : float *
radiusCorners : float *
cornerRightUp : bool *
cornerLeftUp : bool *
cornerLeftDown : bool *
cornerRightDown : bool -> int
- 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?
Int32The index after check the nr of tooldefinition