Click or drag to resize

AccurateTextDrawString(Graphics, Brush, Rectangle, RightToLeft, VisualOrientation, Boolean, Boolean, PaletteState, AccurateTextMemento) Method

Pixel accurate drawing of the requested text memento information.

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static bool DrawString(
	Graphics g,
	Brush brush,
	Rectangle rect,
	RightToLeft rtl,
	VisualOrientation orientation,
	bool composition,
	bool glowing,
	PaletteState state,
	AccurateTextMemento memento
)

Parameters

g  Graphics
Graphics object used for drawing.
brush  Brush
Brush for drawing text with.
rect  Rectangle
Rectangle to draw text inside.
rtl  RightToLeft
Right to left setting for control.
orientation  VisualOrientation
Orientation for drawing text.
composition  Boolean
Should draw on a composition element.
glowing  Boolean
When on composition draw with glowing.
state  PaletteState
State of the source element.
memento  AccurateTextMemento
Memento containing text context.

Return Value

Boolean
True if draw succeeded; False is draw produced an error.
See Also