Version

GetTextInSpan(DocumentSpan,TextWriter,PlainTextFormatOptions) Method

Gets text in the specified document span.
Syntax
'Declaration
 
Public Overloads Sub GetTextInSpan( _
   ByVal span As DocumentSpan, _
   ByVal textWriter As TextWriter, _
   Optional ByVal formatOptions As PlainTextFormatOptions _
) 
public void GetTextInSpan( 
   DocumentSpan span,
   TextWriter textWriter,
   PlainTextFormatOptions formatOptions
)

Parameters

span
Document span.
textWriter
Text will be written to this text writer.
formatOptions
Text format options.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also