Document Property
Returns or sets the document displayed in the viewer control. Read/write Object.
expression.Document
*expression * Required. An expression that returns an MiDocView object.
Remarks
You can load a document into the viewer control by setting the Document property to load an open document, or by setting the FileName property to load a saved document.
Example
The following example loads an open document into the viewer control. Note that the Set statement is not used when specifying the Document property.
MiDocView1.Document = miDoc
Applies to | MiDocView Object