Write() public method

write rtf
public Write ( RTFWriter writer ) : void
writer RTFWriter RTF writer
return void
Esempio n. 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();
        }
 /// <summary>
 /// test 
 /// </summary>
 internal static void Test()
 {
     RTFRawDocument doc = new RTFRawDocument();
     doc.Load(@"d:\abc.rtf");
     //System.Console.WriteLine( doc.Text );
     RTFWriter writer = new RTFWriter(@"d:\a.rtf");
     writer.Indent = true ;
     doc.Write( writer );
     writer.Close();
 }