RtfDomParser.RTFRawDocument.Write C# (CSharp) Méthode

Write() public méthode

write rtf
public Write ( RTFWriter writer ) : void
writer RTFWriter RTF writer
Résultat void
        public override void Write(RTFWriter writer)
        {
            writer.Encoding = this.Encoding ;
            base.Write (writer);
        }

Usage Example

Exemple #1
0
        /// <summary>
        /// test
        /// </summary>
        internal static void Test()
        {
            var doc = new RTFRawDocument();

            doc.Load(@"d:\abc.rtf");
            //System.Console.WriteLine( doc.Text );
            var writer = new RTFWriter(@"d:\a.rtf");

            writer.Indent = true;
            doc.Write(writer);
            writer.Close();
        }
All Usage Examples Of RtfDomParser.RTFRawDocument::Write