Click or drag to resize

GraphDocumentOtherActionsDeleteLayer Method

Deletes the layer specified by index layerNumber.

Namespace: Altaxo.Graph.Graph3D.Commands
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void DeleteLayer(
	this GraphDocument doc,
	IList<int> layerNumber,
	bool withGui
)

Parameters

doc  GraphDocument
Graph document.
layerNumber  IListInt32
Number of the layer to delete.
withGui  Boolean
If true, a message box will ask the user for approval.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type GraphDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also