'Declaration
Public Function LoadFromFile( _ ByVal FilePath As String, _ Optional ByVal DocumentFormat As DocumentFormat, _ Optional ByVal Password As String _ ) As GdPictureStatus
public GdPictureStatus LoadFromFile( string FilePath, DocumentFormat DocumentFormat, string Password )
public function LoadFromFile( FilePath: String; DocumentFormat: DocumentFormat; Password: String ): GdPictureStatus;
public function LoadFromFile( FilePath : String, DocumentFormat : DocumentFormat, Password : String ) : GdPictureStatus;
public: GdPictureStatus LoadFromFile( string* FilePath, DocumentFormat DocumentFormat, string* Password )
public: GdPictureStatus LoadFromFile( String^ FilePath, DocumentFormat DocumentFormat, String^ Password )
Parameters
- FilePath
- The file path.
- DocumentFormat
- An optional parameter specifying the format of the document to be loaded. DocumentFormat.DocumentFormatUNKNOWN.
- Password
- Specifies the document password, if any.
Return Value
A member of the GdPictureStatus enumeration.