PDFKit.GetPDFPageDisplayAnnotation
----------------------------------

Gets whether annotations are drawn.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [PDFKit](component_PDFKit.md) | [6.0](newinversion60.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "PDFKit.GetPDFPageDisplayAnnotation"; PDF; Index ) 

**MBS**( **"PDFKit.GetPDFPageDisplayAnnotation"** /\* Gets whether annotations are drawn. \*/  
**$PDF**; /\* The PDF reference number. \*/   
**$Index**) /\* The index of the page. From zero to [PDFKit.GetPDFPageCount](PDFKitGetPDFPageCount.md)-1. e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference number. | $pdf |
| Index | The index of the page. From zero to [PDFKit.GetPDFPageCount](PDFKitGetPDFPageCount.md)-1. | 1 |

### Result

Returns 1, 0 or error.

### Description

Gets whether annotations are drawn.  
### See also

- [PDFKit.GetPDFPageCount](PDFKitGetPDFPageCount.md)
- [PDFKit.SetPDFPageDisplayAnnotation](PDFKitSetPDFPageDisplayAnnotation.md)

This function checks for a license.

Created 30th November 2015 , last changed 9th November 2021

  
[PDFKit.GetPDFPageCount](PDFKitGetPDFPageCount.md) - [PDFKit.GetPDFPageFormattedText](PDFKitGetPDFPageFormattedText.md)

[HTML Version](PDFKitGetPDFPageDisplayAnnotation.shtml)