Debenu Quick PDF logo


Direct access functionality, Rendering and printing

Version history

This function was introduced in Quick PDF Library version 12.11.


Sets the area for rendering. Any object that appears outside this area will be excluded from the results.

This function sets the area for the selected page only. It affects the results of DARenderPageToDC, DARenderPageToFile, DARenderPageToStream, DARenderPageToString, DARenderPageToVariant functions.

The coordinate values passed into this function are specified in points with the bottom left corner of the page as the origin.

The area limitation can be removed by calling this function with a value of zero for both the Width and Height parameters.



function TDebenuPDFLibrary1511.DASetRenderArea(Left, Top, Width, 
  Height: Double): Integer;


Function DebenuPDFLibrary1511.PDFLibrary::DASetRenderArea(Left As Double,
  Top As Double, Width As Double, Height As Double) As Long


int DPLDASetRenderArea(int InstanceID, double Left, double Top, double Width,
  double Height)


Left The horizontal coordinate of the left edge of the area
Top The vertical coordinate of the top edge of the area
Width The width of the area
Height The height of the area

Return values

1 The text extraction area was set successfully
2 The text extraction area was cleared

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport