Debenu Quick PDF logo

SetDestValue

Annotations and hotspot links

Version history

This function was introduced in Quick PDF Library version 8.14.

Description

Sets one of the properties of the specified destination.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetDestValue(DestID, ValueKey: Integer; 
  NewValue: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetDestValue(DestID As Long,
  ValueKey As Long, NewValue As Double) As Long

DLL

int DPLSetDestValue(int InstanceID, int DestID, int ValueKey, double NewValue)

Parameters

DestID The ID of the destination to analyse. A valid destination ID is returned by the GetOutlineDest function.
ValueKey 1=Left
2=Top
3=Bottom
4=Right
5=Zoom
NewValue The new value for the specified destination property

Return values

0 The destination value could not be set. The DestID parameter might be invalid or the DestType parameter could be out of range.
1 The destination type was set successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport