In This Topic
Creates a new instance of the
C1PrintDocument class, and loads the document from the specified file. The persistence format (
C1DocumentFormatEnum.C1d or
C1DocumentFormatEnum.C1dx) is determinated by the file extension. If the format cannot be determined by the extension, the
C1DocumentFormatEnum.C1d format is used.
Syntax
'Declaration
Public Overloads Shared Function FromFile( _
ByVal As System.String _
) As C1PrintDocument
public static C1PrintDocument FromFile(
System.string
)
Parameters
- fileName
- The name of the file from which to load the document.
Return Value
The
C1PrintDocument that was created.
See Also