RenderAsMultipageTIFFToFile
影像處理、描繪與列印
描述
把所選文件的指定頁面描繪成多頁 TIFF 檔案
ImageOptions 1(TIFF (G4) 輸出)只在 Windows Vista、Windows Server 2008 及之後的系統可用。
語法
Delphi
Function TPDFlib.RenderAsMultipageTIFFToFile(DPI: Double; Const PageRanges: WideString; ImageOptions, OutputOptions: Integer; Const FileName: WideString): Integer;
ActiveX
Function PDFlib::RenderAsMultipageTIFFToFile(DPI As Double, PageRanges As String, ImageOptions As Long, OutputOptions As Long, FileName As String) As Long
DLL
int DLRenderAsMultipageTIFFToFile(int InstanceID, double DPI, const wchar_t * PageRanges, int ImageOptions, int OutputOptions, const wchar_t * FileName);
參數
| DPI | 描繪頁面使用的 DPI |
|---|---|
| PageRanges | 要描繪的頁面清單,例如 "5-10,3,12"。 |
| ImageOptions | 0=24-bit RGB TIFF 1=1-bit G4 TIFF |
| OutputOptions | 保留供日後使用,應設為 0。 |
| FileName | 要建立的 TIFF 檔名與路徑 |
傳回值
| 0 | 參數無效或無法建立檔案 多頁 TIFF 建立成功 |
|---|---|
| 1 |