This topic has not yet been rated - Rate this topic

ITextDocument Methods

The ITextDocument type exposes the following members.

  NameDescription
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method Reload() Reloads the contents of FilePath into a TextBuffer.
Public method Reload(EditOptions) Reloads the contents of FilePath into TextBuffer, using the given EditOptions.
Public method Rename Rename the document to the given new file path.
Public method Save Saves the contents of the TextBuffer to the FilePath.
Public method SaveAs(String, Boolean) Saves the contents of the TextBuffer to the specified file path.
Public method SaveAs(String, Boolean, IContentType) Saves the contents of the TextBuffer to the specified file path.
Public method SaveAs(String, Boolean, Boolean) Saves the contents of the TextBuffer to the specified file path.
Public method SaveAs(String, Boolean, Boolean, IContentType) Saves the contents of the TextBuffer to the specified file path.
Public method SaveCopy(String, Boolean) Saves the contents of the TextBuffer to the given filePath.
Public method SaveCopy(String, Boolean, Boolean) Saves the contents of the TextBuffer to the specified file path.
Public method SetEncoderFallback Change the encoder fallback of Encoding.
Public method UpdateDirtyState Updates the IsDirty and LastContentModifiedTime properties.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.