ComponentFactory.Krypton.Ribbon.KryptonRibbonGroupRichTextBox.SaveFile C# (CSharp) Method

SaveFile() public method

Saves the contents of a RichTextBox control to an open data stream.
public SaveFile ( Stream data, RichTextBoxStreamType fileType ) : void
data Stream The data stream that contains the file to save to.
fileType RichTextBoxStreamType One of the RichTextBoxStreamType values.
return void
        public void SaveFile(Stream data, RichTextBoxStreamType fileType)
        {
            _richTextBox.SaveFile(data, fileType);
        }

Same methods

KryptonRibbonGroupRichTextBox::SaveFile ( string path ) : void
KryptonRibbonGroupRichTextBox::SaveFile ( string path, RichTextBoxStreamType fileType ) : void