loading document in MODI viewer

D

dragoon

Hi,

I'm trying to load a tiff in the MODI Viewer Control.

the form (actually is a child form) is in C# and I'm using FileName Property
to load the tiff.
It loads, but if I close the child form and I try to open it again (with
same source file), the Viewer displys nothing. Loading (only once) different
documents (tiff images) is OK, but loading again same file is not.

Also there is Document Property which loads an open document into the viewer
control.

I think that the file remains open in memory. How can I open it again using
Document Property or how can I dispose it when I close the child form, so I
can use only FileName Property of the control ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top