PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview Namespace / VisitedDocument Class / CreateDocument Method

In This Topic
    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