Saves the selected text of a document with the specified format.

Save(String, Web.StreamType)

public void Save(string path, Web.StreamType streamType);
Public Sub Load(ByVal path as String, ByVal streamType as Web.StreamType)

Save(System.IO.FileStream, Web.StreamType)

public void Save(System.IO.FileStream fileStream, Web.StreamType streamType);
Public Sub Save(ByVal fileStream As System.IO.FileStream, ByVal streamType As Web.StreamType)

Save(Out, Web.BinaryStreamType)

public void Save(out byte[] data, Web.BinaryStreamType streamType);
Public Sub Save(ByRef data As Byte(), ByVal streamType As Web.BinaryStreamType)

Save(Out, Web.StringStreamType)

public void Save(out string stringData, Web.StringStreamType streamType);
Public Sub Save(ByRef stringData As String, ByVal streamType As Web.StringStreamType)

Parameters

Parameter Description
path Saves the selected text of a document in the specified file with the specified format.
streamType Specifies one of the StreamType values.
fileStream Specifies a file into which the selection is saved. The data is saved at the stream's current position.
streamType Specifies one of the StreamType values.
data Specifies a byte array into which the selection is saved. No memory needs to be allocated through the caller.
streamType Specifies one of the BinaryStreamType values.
stringData Specifies a string into which the selection is saved. No memory needs to be allocated through the caller.
streamType Specifies one of the StringStreamType values.