'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 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
A unique image identifier of the GdPicture image representing the newly created editable multipage TIFF image. The returned value is non-zero if the image is successfully created. Please first of all use the GetStat method to determine if this method has been successful.
Be aware that you need to release the image with the ReleaseGdPictureImage method after being used.