Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Sets whether annotations are drawn.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PDFKit | 6.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference number. | ||
index | The index of the page. From zero to PDFKit.GetPDFPageCount-1. | 1 |
Value | The new value for whether to display annotations. Can be 0 or 1. | 1 |
Returns OK or error.
Render with or without image:
Set Variable [$pdf; Value:MBS( "PDFKit.OpenContainer"; PDFKit Rendering::PDF )]
Set Variable [$r; Value:MBS( "PDFKit.SetPDFPageDisplayAnnotation"; $pdf; 0; 0 )]
Set Field [PDFKit Rendering::Image1; MBS( "PDFKit.GetPDFPageImage"; $pdf; 0)]
Set Variable [$r; Value:MBS( "PDFKit.SetPDFPageDisplayAnnotation"; $pdf; 0; 1 )]
Set Field [PDFKit Rendering::Image2; MBS( "PDFKit.GetPDFPageImage"; $pdf; 0)]
Set Variable [$r; Value:MBS("PDFKit.Release"; $pdf)]
Created 30th November 2015, last changed 25th April 2016
PDFKit.SetPDFAttribute - PDFKit.SetPDFPageRotation
Feedback: Report problem or ask question.