InterfaceMatrixCopyLayer(String, String, Boolean, Boolean) Method

Copy the layer

Definition

Namespace: PCBI.Automation.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
string CopyLayer(
	string layerName,
	string newLayerName,
	bool addUndo,
	bool raiseUpdateEvent
)

Parameters

layerName  String
 
newLayerName  String
name of the second layer
addUndo  Boolean
 
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

See Also