Debenu Quick PDF logo

SetRenderDCErasePage

Rendering and printing

Version history

This function was introduced in Quick PDF Library version 7.25.

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 TDebenuPDFLibrary1811.SetRenderDCErasePage(NewErasePage: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::SetRenderDCErasePage(
  NewErasePage As Long) As Long

DLL

int DPLSetRenderDCErasePage(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

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport