Debenu Quick PDF logo

DASetRenderArea

Direct access functionality, Rendering and printing

Version history

This function was introduced in Quick PDF Library version 12.11.

Description

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.

Syntax

Delphi

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

ActiveX

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

DLL

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

Parameters

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 © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport