InterfaceMatrixDeleteLayer(String, Boolean, Boolean, Boolean) Method

Delete a layer.

Definition

Namespace: PCBI.Automation.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
bool DeleteLayer(
	string Layername,
	bool Save,
	bool AddUndoItem,
	bool raiseUpdateEvent
)

Parameters

Layername  String
The selected layer
Save  Boolean
if you want to save directly
AddUndoItem  Boolean
Do you want to add an undo item?
raiseUpdateEvent  Boolean
Raise the matrix change event that e.g. updates the layerlist. If not, call UpdateDataAndList() at the end

Return Value

Boolean
Remove of layer ok?

See Also