Debenu Quick PDF logo


Image handling, Direct access functionality


Saves an image in an image list to a file on disk. The type of image file depends on the type of the image. The DAGetImageIntProperty function can be used to determine the image type.



function TDebenuPDFLibrary1511.DASaveImageDataToFile(FileHandle, ImageListID, 
  ImageIndex: Integer; ImageFileName: WideString): Integer;


Function DebenuPDFLibrary1511.PDFLibrary::DASaveImageDataToFile(FileHandle As Long,
  ImageListID As Long, ImageIndex As Long, ImageFileName As String) As Long


int DPLDASaveImageDataToFile(int InstanceID, int FileHandle, int ImageListID,
  int ImageIndex, wchar_t * ImageFileName)


FileHandle A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
ImageListID A value returned by the DAGetPageImageList function
ImageIndex The index of the image. The first image in the list has an index of 1. Use the DAGetImageListCount function to determine the number of images in the list.
ImageFileName The path and file name of the file to create to store the image data in.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport