Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetLineAnnotPoints
Changes the start and or end point of a line annotation.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetLineAnnotPoints"; PDF; AnnotationHandle { ; P1X; P1Y; P2X; P2Y } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
AnnotationHandle | The annotation index. | 5 | |
P1X | The x coordinate for the first point. Can be empty if P1 should not be changed. |
Optional | |
P1Y | The y coordinate for the first point. Can be empty if P1 should not be changed. |
Optional | |
P2X | The x coordinate for the second point. Can be empty if P2 should not be changed. |
Optional | |
P2Y | The y coordinate for the second point. Can be empty if P2 should not be changed. |
Optional |
Result
Returns OK or error.
Description
Changes the start and or end point of a line annotation.P1 or P2 can be empty (but not both), if only the start or end point should be changed.
See also SetLineAnnotPoints function in DynaPDF manual.
See also
Release notes
- Version 14.3
- Added DynaPDF.SetLineAnnotPoints and DynaPDF.EnableImageCache functions.
Blog Entries
This function checks for a license.
Created 14th June 2024, last changed 14th June 2024