InterfaceFilterCreateEmptyODBLayer(String, String, Boolean, Boolean) Method
Creates an empty odb layer or return a existing layer if it already exists.
Namespace: PCBI.Automation.InterfacesAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
IODBLayer CreateEmptyODBLayer(
string LayerName,
string StepName,
bool AddUndo,
bool raiseUpdateEvent
)
Function CreateEmptyODBLayer (
LayerName As String,
StepName As String,
AddUndo As Boolean,
raiseUpdateEvent As Boolean
) As IODBLayer
IODBLayer^ CreateEmptyODBLayer(
String^ LayerName,
String^ StepName,
bool AddUndo,
bool raiseUpdateEvent
)
abstract CreateEmptyODBLayer :
LayerName : string *
StepName : string *
AddUndo : bool *
raiseUpdateEvent : bool -> IODBLayer
- 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
IODBLayerthe created layer or null if an error occurs