CreateDocument Method (VisitedDocument)
 
            
                In This Topic
            
            Creates an instance of the document that is stored in the current visited document.
Note that if the current visited document is linked with the document that is currently open in the preview pane, that document object is returned.
 
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Function CreateDocument() As Object
             
        
            
            public object CreateDocument()
             
        
             
        
            
            
            Return Value
The created document.
 
            
            
            
            
            
            
            
            
            
            
            
            See Also