using (MemoryStream documentStream = new MemoryStream()) document.SaveDocument(documentStream, DocumentFormat.OpenXml); //... // restore document images richEditControl.LoadDocument(documentStream, DocumentFormat.OpenXml); Document document = richEditControl.Document; for (int i = document.Shapes.Cou...
using (MemoryStream documentStream = new MemoryStream()) document.SaveDocument(documentStream, DocumentFormat.OpenXml); //... // restore document images richEditControl.LoadDocument(documentStream, DocumentFormat.OpenXml); Document document = richEditControl.Document; for (int i = document.Shapes.Cou...
Document document = richEditControl.Document; document.Unit = DevExpress.Office.DocumentUnit.Inch; // Create a text box. Shape myTextBox = document.Shapes.InsertTextBox(document.Range.Start, new RectangleF(1.5f, 1f, 1.5f, 0.5f)); // Specify the text box background color. myTextBox...
OpenXML文件本质上是带有XML文件和附加资源(如图像和样式)的ZIP存档,因此DOCX文件更容易存储在数据库中,您可以使用RichEditDocumentServer.Save方法将文档转换为所需的文件格式。 不要嵌入字体 DevExpressWord Processing Document API允许您在文档中嵌入字体,虽然具有嵌入式字体的文档在不同的计算设备上保持外观特征,但这...
1. DiagramControl控件的使用 DiagramControl是一个界面控件,类似Visio SDK里面的DrawingControl的存在,可以通过它进行图形的绘制,各种窗口的显示和隐藏,以及跟踪各种事件的处理。 DiagramControl控件拖动到窗体中后,会自动增加一些属性窗口,上排的绘图工具中的按钮是我添加的,用来测试该控件的一些属性的控制。
using DevExpress.XtraRichEdit.API.Native; Document document = richEditControl1.Document; Table table = document.Tables[0]; table.BeginUpdate(); // Insert header data document.InsertSingleLineText(table.Rows[0].Cells[1].Range.Start, "Active Customers"); document.InsertSingleLineText(t...
Shapes - Connectors are not properly rendered in RichEditControl TextBox - It is impossible to select the entire row by clicking the left margin The bottom image part isn't displayed for the specific OpenXml document The CalculateDocumentVariable event is raised for the locked DocVariable field ...
Import from HTML - The " " tag is incorrectly parsed when it is loaded to RichEditDocumentServer. RichEditControl incorrectly formats hyperlink items in a Table of Contents. Shapes - Connectors are incorrectly rendered for specific shape types. ...
Rich Edit Control 64-bit C++Builder Support The ExpressRichEditControl Suite is now supported with RAD Studio XE8 or later in 64-bit apps created with C++Builder. Miscellaneous New Filter Operators The data controller now allows users to build filter conditions with the Contains, NotContains...
Case PreviewStringId.ExportOption_ConfirmOpenPasswordForm_Name : Return "文档打开密码" 'Document Open Pa&ssword: Case PreviewStringId.ExportOption_ConfirmOpenPasswordForm_Note : Return "请确认文档打开密码。请务必记下密码。需要它打开该文档。" 'Please confirm the Document Open Password. Be sure to...