SetRenderDCErasePage
Rendering and printing
Description
By default the RenderPageToDC and DARenderPageToDC functions fill the page area with solid white background before rendering the page contents
This function can be used to suppress the background allowing the page contents to be drawn over any existing content in the supplied device context
Syntax
Delphi
Function TPDFlib.SetRenderDCErasePage(NewErasePage: Integer): Integer;
ActiveX
Function PDFlib::SetRenderDCErasePage(NewErasePage As Long) As Long
DLL
int DLSetRenderDCErasePage(int InstanceID, int NewErasePage);
Parameters
| NewErasePage | 0 = No page background is drawn 1 = The page area is filled with a solid white background before rendering |
|---|
Return values
Returns 1. Any non-zero NewErasePage value enables the white page background