IFilterAddToolDefinitionToLayer Method
Add Symbol to layer, this works only if the shape index is ok!
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static int AddToolDefinitionToLayer(
IODBLayer ParentLayer,
IFilterToolDefinition SymbolToAdd
)
Public Shared Function AddToolDefinitionToLayer (
ParentLayer As IODBLayer,
SymbolToAdd As IFilterToolDefinition
) As Integer
public:
static int AddToolDefinitionToLayer(
IODBLayer^ ParentLayer,
IFilterToolDefinition^ SymbolToAdd
)
static member AddToolDefinitionToLayer :
ParentLayer : IODBLayer *
SymbolToAdd : IFilterToolDefinition -> int
- ParentLayer IODBLayer
- Layer to add the symbol.
- SymbolToAdd IFilterToolDefinition
- Symbol for this layer.
Int32-1 or the used Shape Index (it will be changed if there is a second object with the same index)