Click or drag to resize

AccurateText Class

Provide accurate text measuring and drawing capability.
Inheritance Hierarchy
SystemObject
  Internal.ComponentFactory.Krypton.ToolkitGlobalId
    Internal.ComponentFactory.Krypton.ToolkitAccurateText

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 class AccurateText : GlobalId

The AccurateText type exposes the following members.

Constructors
 NameDescription
Public methodAccurateTextInitializes a new instance of the AccurateText class
Top
Properties
 NameDescription
Public propertyId Gets the unique identifier of the object.
(Inherited from GlobalId)
Public propertyStatic memberUseCompatibleTextRendering 
Top
Methods
 NameDescription
Public methodStatic memberDrawCompositionGlowingText Draw text with a glowing background, for use on a composition element.
Public methodStatic memberDrawCompositionText Draw text without a glowing background, for use on a composition element.
Public methodStatic memberDrawString(Graphics, String, Font, Rectangle, Color, StringFormat, Boolean, Boolean) 
Public methodStatic memberDrawString(Graphics, Brush, Rectangle, RightToLeft, VisualOrientation, Boolean, Boolean, PaletteState, AccurateTextMemento) Pixel accurate drawing of the requested text memento information.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberMeasureString(Graphics, String, Font, Size, StringFormat, Boolean) 
Public methodStatic memberMeasureString(Graphics, String, Font, Int32, StringFormat, Boolean) 
Public methodStatic memberMeasureString(Graphics, RightToLeft, String, Font, PaletteTextTrim, PaletteRelativeAlign, PaletteTextHotkeyPrefix, TextRenderingHint, Boolean, Boolean, Boolean, Boolean) Pixel accurate measure of the specified string when drawn with the specified Font object.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also