SetDestValue

Annotations and hotspot links

Description

Sets one of the properties of the specified destination.

Syntax

Delphi

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

ActiveX

Function PDFlib::SetDestValue(DestID As Long, ValueKey As Long, NewValue As Double) As Long

DLL

int DLSetDestValue(int InstanceID, int DestID, int ValueKey, double NewValue);

Parameters

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

Return values

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