# TextRenderMode Enum

> Rendering mode for text, corresponding to the Tr operator in a PDF content stream.

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

**Namespace:** `datalogics_interface`

## Description

Rendering mode for text, corresponding to the Tr operator in a PDF content stream.

## Values

- `Fill = 0`: Fill text glyphs.
- `Stroke = 1`: Stroke text glyph outlines.
- `FillThenStroke = 2`: Fill, then stroke, each glyph.
- `Invisible = 3`: Render no visible glyphs (used for hidden text in OCR'd documents).
- `FillAndAddToClipPath = 4`: Fill glyphs and add their outlines to the clip path.
- `StrokeAndAddToClipPath = 5`: Stroke glyph outlines and add them to the clip path.
- `FillThenStrokeAndAddToClipPath = 6`: Fill then stroke each glyph, and add the outlines to the clip path.
- `InvisibleAddToClipPath = 7`: Render no visible glyphs but add their outlines to the clip path.
