IFilterInsertElementsToLayer(Int32, InterfaceODBLayer, ListInterfaceODBObject, PointD, Boolean, Boolean, Double, Boolean) Method
Insert a list of elements in the existing element list of the ParentLayer on position IndexInLayerElementList.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public bool InsertElementsToLayer(
int indexInLayerElementList,
InterfaceODBLayer parentLayer,
List<InterfaceODBObject> insertElements,
PointD offset,
bool mirrorX = false,
bool mirrorY = false,
double rotation = 0,
bool removeOriginalElements = true
)
Public Function InsertElementsToLayer (
indexInLayerElementList As Integer,
parentLayer As InterfaceODBLayer,
insertElements As List(Of InterfaceODBObject),
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
public:
virtual bool InsertElementsToLayer(
int indexInLayerElementList,
InterfaceODBLayer^ parentLayer,
List<InterfaceODBObject^>^ insertElements,
PointD offset,
bool mirrorX = false,
bool mirrorY = false,
double rotation = 0,
bool removeOriginalElements = true
) sealed
abstract InsertElementsToLayer :
indexInLayerElementList : int *
parentLayer : InterfaceODBLayer *
insertElements : List<InterfaceODBObject> *
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
override InsertElementsToLayer :
indexInLayerElementList : int *
parentLayer : InterfaceODBLayer *
insertElements : List<InterfaceODBObject> *
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 InterfaceODBLayer
- On this layer the elements are added.
- insertElements ListInterfaceODBObject
- 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.
InterfaceFilterInsertElementsToLayer(Int32, InterfaceODBLayer, ListInterfaceODBObject, PointD, Boolean, Boolean, Double, Boolean)