InterfaceMatrixRenameLayer(String, String, Boolean, Boolean) Method
Rename one layer.
Namespace: PCBI.Automation.InterfacesAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
bool RenameLayer(
string OldLayerName,
string NewLayerName,
bool AddUndo,
bool raiseUpdateEvent
)
Function RenameLayer (
OldLayerName As String,
NewLayerName As String,
AddUndo As Boolean,
raiseUpdateEvent As Boolean
) As Boolean
bool RenameLayer(
String^ OldLayerName,
String^ NewLayerName,
bool AddUndo,
bool raiseUpdateEvent
)
abstract RenameLayer :
OldLayerName : string *
NewLayerName : string *
AddUndo : bool *
raiseUpdateEvent : bool -> bool
- 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
BooleanFalse if there was an error.