Click or drag to resize

AccurateTextMemento Class

Encapsulate the information needed to draw text using the AccurateText class.
Inheritance Hierarchy
SystemObject
  Internal.ComponentFactory.Krypton.ToolkitGlobalId
    Internal.ComponentFactory.Krypton.ToolkitAccurateTextMemento

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 class AccurateTextMemento : GlobalId, 
	IDisposable

The AccurateTextMemento type exposes the following members.

Properties
  NameDescription
Public propertyCompatiblePadding
Public propertyFont
Gets the drawing font.
Public propertyFormat
Gets the pixel size of the text area.
Public propertyId
Gets the unique identifier of the object.
(Inherited from GlobalId.)
Public propertyIsEmpty
Gets a value indicating if the memento represents nothing that can be drawn.
Public propertySize
Gets the pixel size of the text area.
Public propertyText
Gets the text to draw.
Top
Methods
  NameDescription
Public methodDispose
Dispose of the memento resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also