# DrawFlags Enum

> Bit flags indicating how a page is rendered.

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

**Namespace:** `datalogics_interface`

## Description

Bit flags indicating how a page is rendered.

These flags can be OR'd together to control various rendering behaviors.

## Values

- `DoLazyErase = 0x00000001`: Erase the page while rendering only as needed.
- `UseAnnotFaces = 0x00000040`: Draw annotation appearances.
- `IsPrinting = 0x00000080`: The page is being printed.
- `DisplayOverPrintPreview = 0x00000100`: Display overprint preview.
- `UseTrapAnnots = 0x00002000`: Use trap network annotations.
- `DirectlyImposed = 0x00004000`: Directly imposed page.
- `IsPSPrinting = 0x00008000`: PostScript printing.
- `EmitPageGroup = 0x00010000`: Emit a page group.
- `UsePrinterMarkAnnots = 0x00020000`: Use printer's mark annotations.
- `PassOPItoAGMPort = 0x00040000`: Pass open prepress interface (OPI) to AGM port.
- `PassMetadatatoAGMPort = 0x00080000`: Pass metadata to AGM port.
- `PassOCtoAGMPort = 0x00100000`: Pass optional content to AGM port.
- `DoNotDownloadFonts = 0x00400000`: Do not download fonts during rendering.
- `WritingToEMF = 0x00400000`: Same as DoNotDownloadFonts.
- `DoNotSubstituteWorkingSpaces = 0x00800000`: Do not substitute working spaces.
- `SwapComponents = 0x01000000`: Render colors in BGR order rather than RGB.
- `SuppressRasterAlpha = 0x02000000`: Suppress raster alpha.
- `WorkingSpacesOnlyForChange = 0x04000000`: Only use a working space if the process color model differs.
- `UseStampAnnotsOnly = 0x08000000`: Only consider Stamp annotations. Overrides UseAnnotFaces.
- `ForceGDIPort = 0x10000000`: Force GDI port for window draw code (Windows only).
- `IsPrintPreviewing = 0x10000000`: Same as ForceGDIPort.
- `OptimizeForInteractive = 0x20000000`: Optimize for interactive re-drawing of PDF pages.
