FileName Property

Returns or sets the file name of the document displayed in the viewer control. Read/write String.


*expression   * Required. An expression that returns an MiDocView object.


You can load a document into the viewer control by setting the FileName property to load a saved document, or by setting the Document property to load an open document. When you load an open document, the Filename property returns an empty string.

Applies to | MiDocView Object