Click or drag to resize

AccurateTextDrawCompositionText Method

Draw text without a glowing background, for use on a composition element.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void DrawCompositionText(
	Graphics g,
	string text,
	Font font,
	Rectangle bounds,
	PaletteState state,
	Color color,
	bool copyBackground,
	StringFormat sf
)

Parameters

g
Type: System.DrawingGraphics
Graphics reference.
text
Type: SystemString
Text to be drawn.
font
Type: System.DrawingFont
Font to use for text.
bounds
Type: System.DrawingRectangle
Bounding area for the text.
state
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteState
State of the source element.
color
Type: System.DrawingColor
Color of the text.
copyBackground
Type: SystemBoolean
Should existing background be copied into the bitmap.
sf
Type: System.DrawingStringFormat
StringFormat of the memento.
See Also