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

    Show / Hide Table of Contents

    TextPosition Class

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

    Represents a position within a PresentationDocument.

    • C#
    • VB.NET
    public class TextPosition
    Public Class TextPosition
    Inheritance:
    Object
    TextPosition
    Remarks

    For more information, see Find and Replace example.

    Properties

    LoadTextFormat

    Gets the character formatting options for text loaded with LoadText(String) method or null if text cannot be loaded to the current TextPosition.

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

    The character formatting options for text loaded with LoadText(String) method or null if text cannot be loaded to the current TextPosition.

    Parent

    Gets the parent that scopes the current TextPosition.

    • C#
    • VB.NET
    public object Parent { get; }
    Public ReadOnly Property Parent As Object
    Property Value
    Object

    The parent that scopes the current TextPosition.

    Methods

    LoadText(String)

    Loads the specified text at the current TextPosition.

    • C#
    • VB.NET
    public TextPosition LoadText(string text)
    Public Function LoadText(text As String) As TextPosition
    Parameters
    text
    String

    The text which should be loaded at the current TextPosition.

    Returns
    TextPosition

    A TextPosition instance which points to a location just after the loaded text.

    Examples

    Find and Replace example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.