Compartir vía


TextPattern.DocumentRange Propiedad

Definición

Obtiene un intervalo de texto que agrega el texto principal de un documento.

public:
 property System::Windows::Automation::Text::TextPatternRange ^ DocumentRange { System::Windows::Automation::Text::TextPatternRange ^ get(); };
public System.Windows.Automation.Text.TextPatternRange DocumentRange { get; }
member this.DocumentRange : System.Windows.Automation.Text.TextPatternRange
Public ReadOnly Property DocumentRange As TextPatternRange

Valor de propiedad

TextPatternRange

Ejemplos

En el ejemplo de código siguiente, la variable miembro targetTextPattern es un TextPattern objeto obtenido de un proveedor de texto de interés.

// Initialize the document range for the text of the document.
documentRange = targetTextPattern.DocumentRange;
' Initialize the document range for the text of the document.
documentRange = targetTextPattern.DocumentRange

Comentarios

Es posible que no se incluyan algunos texto auxiliar como encabezados, notas al pie o anotaciones.

Se aplica a

Consulte también