Click or drag to resize

TextFormat Class

Contains extended properties for use with drawing text onto a Canvas.

Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.DrawingTextFormat

Namespace:  Atalasoft.Imaging.Drawing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class TextFormat : ICloneable

The TextFormat type exposes the following members.

Constructors
  NameDescription
Public methodTextFormat
Initializes a new instance of TextFormat with default settings.
Public methodTextFormat(TextAlignment)
Initializes a new instance of TextFormat specifying the horizontal alignment.
Public methodTextFormat(TextAlignment, Double)
Initializes a new instance of TextFormat specifying the horizontal alignment and angle.
Public methodTextFormat(TextAlignment, Double, Int32)
Initializes a new instance of TextFormat specifying the horizontal alignment, angle, and inter-character spacing.
Public methodTextFormat(TextAlignment, Double, Int32, Dpi)
Initializes a new instance of the TextFormat class.
Top
Properties
  NameDescription
Public propertyAlignment
Gets or sets the horizontal alignment of the text to draw.
Public propertyAngle
Gets or sets the angle in degrees of the text to draw.
Public propertyCharacterWidth
Gets or sets the width of the characters
Public propertyInterCharacterSpace
Gets or sets the number of additional pixels to add between characters.
Public propertyScaleToDpi
Causes text to be drawn relative to the specified DPI.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
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
See Also