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 LongDLL
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 |
|---|