# WordAttributeFlags Enum

> Flags returned by Word::GetAttributes.

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

**Namespace:** `datalogics_interface`

## Description

Flags returned by Word::GetAttributes.

## Values

- `HasNonalphanum = 0x1`: The word contains a character outside A-Z, a-z, 0-9.
- `HasLetter = 0x2`: The word contains a character in A-Z or a-z.
- `HasUppercase = 0x4`: The word contains a character in A-Z.
- `HasDigit = 0x8`: One or more characters are digits.
- `HasPunctuation = 0x10`: One or more characters are punctuation. Use the leading/trailing flags to determine position.
- `HasHyphen = 0x20`: The word contains a hyphen.
- `HasSoftHyphen = 0x40`: The word contains a soft hyphen.
- `HasLigature = 0x80`: The word contains a ligature.
- `HasLeadingPunctuation = 0x100`: The first character is a punctuation mark.
- `HasTrailingPunctuation = 0x200`: The last character is a punctuation mark.
- `HasUnmappedCharacters = 0x400`: One or more characters cannot be represented in the output font's encoding.
- `AdjacentToSpace = 0x800`: The character following the word is a space (explicit or implicit from a drawing-point move).
- `Rotated = 0x1000`: Writing direction is not a multiple of 90 degrees, or the bounding box is skewed; use the word's quads for highlight regions.
- `VerticalFlow = 0x2000`: Writing direction is 90 or 180 degrees, ignoring the page rotation entry. Set on words rendered horizontally on a 90°-rotated page.
- `WordBreak = 0x4000`: The word is followed by a word-break character (e.g. a space).
- `LastWordOnLine = 0x8000`: The word ends a text line (e.g. is followed by a line break). In tagged PDFs this follows the document's tags; for visual line breaks use IsLastWordInRegion.
