menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Struct TextDrawInfo - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Struct TextDrawInfo

    Defines a structure that provides information which is used for drawing the text.

    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    Namespace: Syncfusion.Windows.Forms.Edit.Utils
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public struct TextDrawInfo

    Fields

    DrawRectangle

    Gets the rectangle, where it must be drawn.

    Declaration
    public Rectangle DrawRectangle
    Field Value
    Type
    System.Drawing.Rectangle

    DynamicFormattings

    Gets the array of the dynamic formatting, applied to the range.

    Declaration
    public AdditionalFormatting[] DynamicFormattings
    Field Value
    Type
    AdditionalFormatting[]

    Text

    Gets the text, to be drawn.

    Declaration
    public string Text
    Field Value
    Type
    System.String

    TextHeight

    Gets the height of text itself.

    Declaration
    public int TextHeight
    Field Value
    Type
    System.Int32

    VerticalAlignment

    Gets the vertical alignment of the text.

    Declaration
    public StringAlignment VerticalAlignment
    Field Value
    Type
    System.Drawing.StringAlignment
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved