如何转换横向模式 [英] How to convert landscape mode

查看:84
本文介绍了如何转换横向模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我使用富文本框从rft生成docx文件。

i希望在横向模式下转换docx帮助我使用开放式XML和MS introp



这个我的代码



Hi

I have generate docx file from rft using rich text box.
i want convert the docx in landscape mode help me with out using open XML, and MS introp

This my code

protected void Page_Load(object sender, EventArgs e)
        {
            RichTextBox rtBox = new RichTextBox();
            rtBox.Rtf = System.IO.File.ReadAllText(@"C:\Users\amalraj.a\Desktop\checking\RFT\myrft.rtf");
            rtBox.SelectAll();
            rtBox.SelectionFont = new System.Drawing.Font(new System.Drawing.FontFamily("Courier New"), 8.00F, System.Drawing.FontStyle.Regular);
            rtBox.SaveFile(@"C:\Users\amalraj.a\Desktop\032114\output\TestDocument.docx");
        }







我想将TestDocument.docx转换为横向模式给我任何建议。




I want convert that TestDocument.docx to landscape mode give me any suggestions.

推荐答案

这篇关于如何转换横向模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆