IFilterCreateEmptyODBLayer(String, String, Boolean, Boolean) Method

Creates an empty odb layer or return a existing layer if it already exists.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public IODBLayer CreateEmptyODBLayer(
	string LayerName,
	string StepName,
	bool AddUndo,
	bool raiseUpdateEvent
)

Parameters

LayerName  String
name of new layer
StepName  String
the selected step
AddUndo  Boolean
Add the new layer creation to undo list to remove it later if necessary.
raiseUpdateEvent  Boolean
Raise the matrix change event that e.g. updates the layerlist. If not, call IMatrix::UpdateDataAndList() at the end

Return Value

IODBLayer
the created layer or null if an error occurs

Implements

InterfaceFilterCreateEmptyODBLayer(String, String, Boolean, Boolean)

See Also