InterfaceFilterInsertElementsToLayer(Int32, IODBLayer, ListIODBObject, PointD, Boolean, Boolean, Double, Boolean) Method
Insert a list of elements in the existing element list of the ParentLayer on position IndexInLayerElementList.
Namespace: PCBI.Automation.InterfacesAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
bool InsertElementsToLayer(
int IndexInLayerElementList,
IODBLayer ParentLayer,
List<IODBObject> InsertElements,
PointD Offset,
bool MirrorX = false,
bool MirrorY = false,
double Rotation = 0,
bool RemoveOriginalElements = true
)
Function InsertElementsToLayer (
IndexInLayerElementList As Integer,
ParentLayer As IODBLayer,
InsertElements As List(Of IODBObject),
Offset As PointD,
Optional MirrorX As Boolean = false,
Optional MirrorY As Boolean = false,
Optional Rotation As Double = 0,
Optional RemoveOriginalElements As Boolean = true
) As Boolean
bool InsertElementsToLayer(
int IndexInLayerElementList,
IODBLayer^ ParentLayer,
List<IODBObject^>^ InsertElements,
PointD Offset,
bool MirrorX = false,
bool MirrorY = false,
double Rotation = 0,
bool RemoveOriginalElements = true
)
abstract InsertElementsToLayer :
IndexInLayerElementList : int *
ParentLayer : IODBLayer *
InsertElements : List<IODBObject> *
Offset : PointD *
?MirrorX : bool *
?MirrorY : bool *
?Rotation : float *
?RemoveOriginalElements : bool
(* Defaults:
let _MirrorX = defaultArg MirrorX false
let _MirrorY = defaultArg MirrorY false
let _Rotation = defaultArg Rotation 0
let _RemoveOriginalElements = defaultArg RemoveOriginalElements true
*)
-> bool
- IndexInLayerElementList Int32
- The new position of the list of new elements.
- ParentLayer IODBLayer
- On this layer the elements are added.
- InsertElements ListIODBObject
- Relevant elements to insert in list.
- Offset PointD
- All Objects moved for the Offset.
- MirrorX Boolean (Optional)
- Mirror the elements in X direction.
- MirrorY Boolean (Optional)
- Mirror the elements in Y direction.
- Rotation Double (Optional)
- Rotate the elements before adding them.
- RemoveOriginalElements Boolean (Optional)
- If you use this method to move elements it can remove the orignial elements from origninal layer.
BooleanTrue if the objects are insert in elmeent list of parent layer.