PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / Load Method / Load(String) Method
The source file name.

In This Topic
    Load(String) Method
    In This Topic
    Loads the current document from a file. The persistence format (C1.C1Preview.C1DocumentFormatEnum.C1d or C1.C1Preview.C1DocumentFormatEnum.C1dx) is determined by the file extension. The format defaults to C1.C1Preview.C1DocumentFormatEnum.C1d if the format cannot be determined from the extension.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal fileName As String _
    ) 
    public void Load( 
       string fileName
    )

    Parameters

    fileName
    The source file name.
    See Also