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

Save(String, Web.StreamType)

public void Save(string path, Web.StreamType streamType);

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

public void Save(System.IO.FileStream fileStream, Web.StreamType streamType);

Save(Out, Web.BinaryStreamType)

public void Save(out byte[] data, Web.BinaryStreamType streamType);

Save(Out, Web.StringStreamType)

public void Save(out string stringData, Web.StringStreamType streamType);

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.