Share via


ITextImage.Write(TextWriter, Span) Method

Definition

Writes a substring of the contents of the image.

public:
 void Write(System::IO::TextWriter ^ writer, Microsoft::VisualStudio::Text::Span span);
public void Write (System.IO.TextWriter writer, Microsoft.VisualStudio.Text.Span span);
abstract member Write : System.IO.TextWriter * Microsoft.VisualStudio.Text.Span -> unit
Public Sub Write (writer As TextWriter, span As Span)

Parameters

writer
TextWriter

The TextWriter to use.

span
Span

The span of text to write.

Exceptions

writer is null.

The end of the span is greater than the length of the image.

Applies to