InterfaceMatrixRenameLayer(String, String, Boolean, Boolean) Method

Rename one layer.

Definition

Namespace: PCBI.Automation.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
bool RenameLayer(
	string OldLayerName,
	string NewLayerName,
	bool AddUndo,
	bool raiseUpdateEvent
)

Parameters

OldLayerName  String
The real name of the layer before it will be changed.
NewLayerName  String
The new name to overriede the old one.
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

Boolean
False if there was an error.

See Also