'Declaration
Public Overloads Function CreateGdPictureImageFromFile( _ ByVal FilePath As String _ ) As Integer
public int CreateGdPictureImageFromFile( string FilePath )
public function CreateGdPictureImageFromFile( FilePath: String ): Integer;
public function CreateGdPictureImageFromFile( FilePath : String ) : int;
public: int CreateGdPictureImageFromFile( string* FilePath )
public: int CreateGdPictureImageFromFile( String^ FilePath )
Parameters
- FilePath
- The file path of the input image file. Use the empty string to allow the control to prompt users to select a file.
You can subsequently use the GetLastPath method to retrieve the path of the selected file.
Return Value
Be aware that you need to release the image resource with the ReleaseGdPictureImage method after being used.