LuciadCPillar C# 2023.1.04
Luciad.Create.ICreatorObserver Interface Reference

This observer is called when a feature was created and added to the layer by the Creator class, or when creation failed. More...

Public Member Functions

void OnFeatureCreated (Luciad.Models.Features.Feature createdFeature, Luciad.Layers.Features.FeatureLayer featureLayer)
 Called when a new feature is created and added to the layer. More...
 
void OnFeatureCreationFailed (Luciad.ErrorInfo errorInfo)
 Called when feature creation has failed. More...
 

Detailed Description

This observer is called when a feature was created and added to the layer by the Creator class, or when creation failed.

2020.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ICreatorObserver.

Member Function Documentation

◆ OnFeatureCreated()

void Luciad.Create.ICreatorObserver.OnFeatureCreated ( Luciad.Models.Features.Feature  createdFeature,
Luciad.Layers.Features.FeatureLayer  featureLayer 
)

Called when a new feature is created and added to the layer.

createdFeature

the newly created feature

featureLayer

the layer to which the feature was added

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ICreatorObserver::onFeatureCreated.

◆ OnFeatureCreationFailed()

void Luciad.Create.ICreatorObserver.OnFeatureCreationFailed ( Luciad.ErrorInfo  errorInfo)

Called when feature creation has failed.

This can be for various reasons, for example: A new Feature could not be created from the geometry The new Feature could not be added to the model

errorInfo

the reason why creation has stopped

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ICreatorObserver::onFeatureCreationFailed.