# LibraryFlags Enum

> Flags for initializing the library.

- Product: Adobe PDF Library 21
- Language: Modern C++
- Version: 21.4.0
- HTML page: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/LibraryFlags
- Version index: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/llms.txt

**Namespace:** `datalogics_interface`

## Description

Flags for initializing the library. Unless you require fine-grain control of the intialization process of the library there is no need to use LibraryFlags or you can specify the value of NoFlags.

## Values

- `None = 0`: No flags set; default initialization.
- `IgnoreDefaultDirectories = 0x001`: When searching for fonts, ignore the compiled-in default directories.
- `CheckSubFonts = 0x004`: Check for substitution fonts during initialization; fail if not found.
- `InitPDFEdit = 0x020`: Initialize PDFEdit during library setup.
- `IgnoreCurrentDirectory = 0x100`: Ignore the current working directory when searching for fonts.
- `DisableMemorySuballocator = 0x200`: Disable memory suballocation.
- `PreferLocalFonts = 0x400`: Prefer fonts loaded from local directories over OS-controlled directories.
- `InitFormsExtension = 0x10000`: Load Forms Extension dependencies. Requires a separate license.
