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 LongDLL
int DLSetDestValue(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 The new value for the specified destination property |
| NewValue |
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 |