• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Namespace DRIT.Drawing.Text

Classes

Font

Defines a text font used for drawing text with Graphics.

FontCollection

Represents a collection of FontFamily objects.

FontFallbackChain

An ordered list of font families queried to find a glyph for a code point that the primary font lacks. Used for automatic font fallback during text layout.

FontFamily

Represents a font family used for drawing text.

FontSettings

Controls global font-loading behaviour for the drawing library. All properties must be set before the first access to Default because the system font collection is scanned once and cached for the lifetime of the process.

InstalledFontCollection

Represents the collection of fonts installed on the system. The collection is populated on first use by querying the platform's native font service (Windows registry, macOS CoreText, Linux fontconfig) and falling back to directory scanning. The result is cached for the lifetime of the process.

PrivateFontCollection

Represents a collection of font families provided by the application.

RichTextOptions

Rich-text layout options for Graphics.DrawRichText and Graphics.MeasureRichText. Carries a list of RichTextRun segments and default font properties.

RichTextRun

Describes a contiguous range of characters within a rich-text string that share font, style, size, and/or foreground brush overrides. Used with RichTextOptions.

StringFormat

Encapsulates text layout information such as alignment, format flags, and tab stops.

TextOnPathOptions

Options controlling text placement along a baseline path for DrawStringOnPath(string, Font, Brush, GraphicsPath, StringFormat?, TextOnPathOptions?) and AddStringOnPath(string, FontFamily, int, float, GraphicsPath, StringFormat?, TextOnPathOptions?).

Structs

CharacterRange

Specifies a range of character positions within a string.

Enums

GenericFontFamilies

Specifies the generic font families.

HotkeyPrefix

Specifies the type of display for hotkey prefixes in text.

StringAlignment

Specifies the alignment of a text string relative to a layout rectangle.

StringDigitSubstitute

Specifies the substitution method for digit shapes in text.

StringFormatFlags

Specifies the display and layout information for text strings.

StringTrimming

Specifies how to trim characters from a string that does not fit into a layout shape.

TextOnPathOverflow

Controls how text longer than the available path length is handled by text-on-path layout.

TextRenderingHint

Specifies the text rendering hint for text quality.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX