DynaPDF.GetAnnotFlags
---------------------

Returns the default flags used for newly created annotations.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [5.0](newinversion50.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.GetAnnotFlags"; PDF ) 

**MBS**( **"DynaPDF.GetAnnotFlags";** /\* Returns the default flags used for newly created annotations. \*/  
**$PDF**) /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |

### Result

Returns number or error.

### Description

Returns the default flags used for newly created annotations.  
See also [GetAnnotFlags](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetAnnotFlags.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetImportFlags](DynaPDFGetImportFlags.md)
- [DynaPDF.GetImportFlags2](DynaPDFGetImportFlags2.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetAnnotColor](DynaPDFSetAnnotColor.md)
- [DynaPDF.SetAnnotFlags](DynaPDFSetAnnotFlags.md)
- [DynaPDF.SetAnnotFlagsEx](DynaPDFSetAnnotFlagsEx.md)
- [DynaPDF.SetFieldFlags](DynaPDFSetFieldFlags.md)
- [DynaPDF.SetGStateFlags](DynaPDFSetGStateFlags.md)
- [DynaPDF.SetImportFlags](DynaPDFSetImportFlags.md)
- [DynaPDF.SetImportFlags2](DynaPDFSetImportFlags2.md)

This function checks for a license.

Created 25th November 2014 , last changed 9th November 2021

  
[DynaPDF.GetAnnotCount](DynaPDFGetAnnotCount.md) - [DynaPDF.GetAnnotLink](DynaPDFGetAnnotLink.md)

[HTML Version](DynaPDFGetAnnotFlags.shtml)