To dispose old information of DisplayConduit

Hi All,

I have an exact same problem of this little old topic.

When file is renewed it appears an old display-conduit object.

I tried some method with file closing event.

private oid OnCloseDocument(object sender, DocumentEventArgs e)
{
    DisplayConduit-instance.Enabled = false;
}

and

private oid OnCloseDocument(object sender, DocumentEventArgs e)
{
    DisplayConduit-instance = null;
}

Both cannot solve problem.

Could anyone please let me know which method should I use for clearing old display-conduit object?

Thank you

Kato

Hi @f.kato,

After you disable your conduit, don’t forget to redraw the document.

– Dale

1 Like

Hello dale,

Thank you for your advise.
The problem solved!

Kato