IMatrixRenameLayer(String, String, Boolean, Boolean) Method
Rename one layer.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public bool RenameLayer(
string OldLayerName,
string NewLayerName,
bool AddUndo,
bool raiseUpdateEvent
)
Public Function RenameLayer (
OldLayerName As String,
NewLayerName As String,
AddUndo As Boolean,
raiseUpdateEvent As Boolean
) As Boolean
public:
virtual bool RenameLayer(
String^ OldLayerName,
String^ NewLayerName,
bool AddUndo,
bool raiseUpdateEvent
) sealed
abstract RenameLayer :
OldLayerName : string *
NewLayerName : string *
AddUndo : bool *
raiseUpdateEvent : bool -> bool
override 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.
InterfaceMatrixRenameLayer(String, String, Boolean, Boolean)