'Declaration
Public Overloads Function TiffCreateMultiPageFromFile( _ ByVal FilePath As String, _ ByVal LoadInMemory As Boolean _ ) As Integer
public int TiffCreateMultiPageFromFile( string FilePath, bool LoadInMemory )
public function TiffCreateMultiPageFromFile( FilePath: String; LoadInMemory: Boolean ): Integer;
public function TiffCreateMultiPageFromFile( FilePath : String, LoadInMemory : boolean ) : int;
public: int TiffCreateMultiPageFromFile( string* FilePath, bool LoadInMemory )
public: int TiffCreateMultiPageFromFile( String^ FilePath, bool LoadInMemory )
Parameters
- FilePath
- The file path of the source file. Use the empty string to allow the control to prompt users to select a file. Specifies if the file content will be loaded into memory (true). Loading the file content directly into memory results in a better manipulation performance, but it consumes more memory. If you load a file into memory, you can subsequently overwrite or delete the file. Suggested value is false, which means that the file is opened in read access mode.
You can subsequently use the GdPictureImaging.GetLastPath method to retrieve the path of the selected file.
- LoadInMemory
- Specifies if the file content will be loaded into memory (true). Loading the file content directly into memory results in a better manipulation performance, but it consumes more memory. If you load a file into memory, you can subsequently overwrite or delete the file. Suggested value is false, which means that the file is opened in read access mode.
Return Value
Be aware that you need to release the image with the GdPictureImaging.ReleaseGdPictureImage method after being used.