RenderPagesToPrintFile
Rendu, impression, sortie de fichier
Description
Écrit les pages sélectionnées dans un fichier PostScript, EPS, PCL ou PWG Raster complet et indépendant du pilote
Syntaxe
Delphi
Function TPDFlib.RenderPagesToPrintFile(DPI: Double; Const PageRanges: WideString; PrintFormat, Options: Integer; Const FileName: WideString): Integer;ActiveX
Function PDFlib::RenderPagesToPrintFile(DPI As Double, PageRanges As String, PrintFormat As Long, Options As Long, FileName As String) As LongDLL
int DLRenderPagesToPrintFile(int InstanceID, double DPI, const wchar_t* PageRanges, int PrintFormat, int Options, const wchar_t* FileName);
int DLRenderPagesToPrintFileA(int InstanceID, double DPI, const char* PageRanges, int PrintFormat, int Options, const char* FileName);Paramètres
DPI, PageRanges, PrintFormat et Options suivent RenderPagesToPrintStream ; FileName est le chemin de sortie
Valeurs de retour
Renvoie 1 en cas de succès et 0 en cas d’échec
Remarques
Un appel échoué supprime son fichier de sortie partiel ; le point d'entrée ANSI DLL décode les plages de pages et les noms de fichiers en UTF-8
Voir aussi
RenderPagesToPrintStream, RenderPagesToPrintData, RenderPagesToPrintBuffer