Saves the selected text of a document with the specified format.
public void Save(string path, Web.StreamType streamType);
public void Save(System.IO.FileStream fileStream, Web.StreamType streamType);
public void Save(out byte[] data, Web.BinaryStreamType streamType);
public void Save(out string stringData, Web.StringStreamType streamType);
Parameter | Description |
---|---|
path | Saves the selected text of a document in the specified file with the specified format. |
stream |
Specifies one of the Stream |
file |
Specifies a file into which the selection is saved. The data is saved at the stream's current position. |
stream |
Specifies one of the Stream |
data | Specifies a byte array into which the selection is saved. No memory needs to be allocated through the caller. |
stream |
Specifies one of the Binary |
string |
Specifies a string into which the selection is saved. No memory needs to be allocated through the caller. |
stream |
Specifies one of the String |