PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument 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 (C1DocumentFormatEnum.C1d or C1DocumentFormatEnum.C1dx) is determined by the file extension. The format defaults to 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