GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    TextField Class

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents a text field which contains generated text that the application should update periodically.

    • C#
    • VB.NET
    public sealed class TextField : TextElement
    Public NotInheritable Class TextField
        Inherits TextElement
    Inheritance:
    System.Object
    TextElement
    TextField

    Properties

    ElementType

    Gets the Field value.

    • C#
    • VB.NET
    public override TextElementType ElementType { get; }
    Public Overrides ReadOnly Property ElementType As TextElementType
    Property Value
    TextElementType

    The Field value.

    Overrides
    TextElement.ElementType

    FieldType

    Gets the type of text that should be used to update this text field. This is used to inform the rendering application what text it should use to update this text field.

    • C#
    • VB.NET
    public TextFieldType FieldType { get; }
    Public ReadOnly Property FieldType As TextFieldType
    Property Value
    TextFieldType

    The type of text that should be used to update this text field.

    Exceptions
    System.ArgumentException

    Value Custom cannot be set.

    Text

    Gets or sets the text.

    • C#
    • VB.NET
    public string Text { get; set; }
    Public Property Text As String
    Property Value
    System.String

    The text.

    Methods

    ToString()

    Returns a System.String that represents this TextField instance.

    • C#
    • VB.NET
    public override string ToString()
    Public Overrides Function ToString As String
    Returns
    System.String

    A System.String that represents this TextField instance.

    Overrides
    TextElement.ToString()

    Inherited Properties

    Format

    Gets or sets the character formatting options.

    (Inherited from TextElement)

    Parent

    Gets the parent text paragraph or null if text element was deleted.

    (Inherited from TextElement)

    Slide

    Gets the slide associated with this text element.

    (Inherited from TextElement)

    TextContent

    Gets the text content of the current TextElement.

    (Inherited from TextElement)

    Examples

    Text Boxes Example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.