Share via


ITextImage.GetText(Span) Method

Definition

Gets text from the image starting at the beginning of the span and having length equal to the length of the span.

public:
 System::String ^ GetText(Microsoft::VisualStudio::Text::Span span);
public string GetText (Microsoft.VisualStudio.Text.Span span);
abstract member GetText : Microsoft.VisualStudio.Text.Span -> string
Public Function GetText (span As Span) As String

Parameters

span
Span

The span to return.

Returns

A non-null string.

Exceptions

The end of the span is greater than Length.

Applies to