Share via


Print3DTask.SourceChanged Event

Definition

Occurs when the workflow modifies the 3D print package.

// Register
event_token SourceChanged(TypedEventHandler<Print3DTask, Print3DTaskSourceChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void SourceChanged(event_token const* cookie) const;

// Revoke with event_revoker
Print3DTask::SourceChanged_revoker SourceChanged(auto_revoke_t, TypedEventHandler<Print3DTask, Print3DTaskSourceChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<Print3DTask,Print3DTaskSourceChangedEventArgs> SourceChanged;
function onSourceChanged(eventArgs) { /* Your code */ }
print3DTask.addEventListener("sourcechanged", onSourceChanged);
print3DTask.removeEventListener("sourcechanged", onSourceChanged);
- or -
print3DTask.onsourcechanged = onSourceChanged;
Public Custom Event SourceChanged As TypedEventHandler(Of Print3DTask, Print3DTaskSourceChangedEventArgs) 

Event Type

Applies to