IMatrixCopyLayer(String, String, Boolean, Boolean) Method
Copy the layer
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public string CopyLayer(
string LayerName,
string newLayerName,
bool AddUndo,
bool raiseUpdateEvent
)
Public Function CopyLayer (
LayerName As String,
newLayerName As String,
AddUndo As Boolean,
raiseUpdateEvent As Boolean
) As String
public:
virtual String^ CopyLayer(
String^ LayerName,
String^ newLayerName,
bool AddUndo,
bool raiseUpdateEvent
) sealed
abstract CopyLayer :
LayerName : string *
newLayerName : string *
AddUndo : bool *
raiseUpdateEvent : bool -> string
override CopyLayer :
LayerName : string *
newLayerName : string *
AddUndo : bool *
raiseUpdateEvent : bool -> string
- LayerName String
- old layer name
- newLayerName String
- name of the second layer
- AddUndo Boolean
- Adds action to the undo list
- raiseUpdateEvent Boolean
- Raise the matrix change event that e.g. updates the layerlist. If not, call UpdateDataAndList() at the end
Stringname of layer, it's possible that it is different to newLayerName
InterfaceMatrixCopyLayer(String, String, Boolean, Boolean)