xtd 0.2.0
Loading...
Searching...
No Matches

◆ add_memory_font()

void xtd::drawing::text::private_font_collection::add_memory_font ( intptr  memory,
size_t  length 
)

Adds a font contained in system memory to this xtd::drawing::text::private_font_collection.

Parameters
memoryThe memory address of the font to add.
lengthThe memory length of the font to add.
Remarks
To use the memory font, text on a control must be rendered with GDI+. Use the set_compatible_text_rendering_default method, passing true, to set GDI+ rendering on the application, or on individual controls by setting the control's use_compatible_text_rendering property to true. Some controls cannot be rendered with GDI+.