IMatrixCopyLayer(String, String, Boolean, Boolean) Method

Copy the layer

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public string CopyLayer(
	string LayerName,
	string newLayerName,
	bool AddUndo,
	bool raiseUpdateEvent
)

Parameters

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

Return Value

String
name of layer, it's possible that it is different to newLayerName

Implements

InterfaceMatrixCopyLayer(String, String, Boolean, Boolean)

See Also