RenderPagesToPrintBufferA

DLL, rendering, stampa

Descrizione

Variante ANSI di RenderPagesToPrintBuffer

Accetta parametri stringa ANSI e si comporta come il punto di ingresso wide-string

Sintassi

DLL

int DLRenderPagesToPrintBuffer(int InstanceID, double DPI, const wchar_t* PageRanges, int PrintFormat, int Options, void* Buffer, int BufferSize);
int DLRenderPagesToPrintBufferA(int InstanceID, double DPI, const char* PageRanges, int PrintFormat, int Options, void* Buffer, int BufferSize);

Valori restituiti

Restituisce byte positivi per query dimensione o copia riuscita, il valore richiesto negativo se il buffer è piccolo e 0 se l'esportazione fallisce

Note

Le chiamate di query e copia eseguono ciascuna un'esportazione, evitando di conservare grandi payload binari nell'istanza DLL; il punto di ingresso ANSI decodifica PageRanges come UTF-8

Vedere anche

RenderPagesToPrintData, RenderPagesToPrintFile