PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / SaveVisitedDocument Event

In This Topic
    SaveVisitedDocument Event (C1PreviewPane)
    In This Topic
    Occurs if HistoryOptions.VisitedDocumentStorage on the current preview pane is set to VisitedDocumentStorageEnum.User, and a visited document should be added to history. The event handler must save the document.
    Syntax
    'Declaration
     
    Public Event SaveVisitedDocument As SaveVisitedDocumentEventHandler
    public event SaveVisitedDocumentEventHandler SaveVisitedDocument
    Event Data

    The event handler receives an argument of type SaveVisitedDocumentEventArgs containing data related to this event. The following SaveVisitedDocumentEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets arbitrary data associated with the current object. Typically this data is filled on saving a document, and can be used when that document is loaded.  
    See Also