Creates a new instance of the C1PrintDocument class,
and loads the document from the specified file.
The persistence format (C1d or C1dx)
is determinated by the file extension.
If the format cannot be determined by the extension, the C1d format is used.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public static C1PrintDocument FromFile( string fileName ) |
Visual Basic |
---|
Public Shared Function FromFile ( _ fileName As String _ ) As C1PrintDocument |
Parameters
- fileName
- Type: System..::..String
The name of the file from which to load the document.