设置权限控制后,文档保存速度很慢是什么原因?
请问文档设置了部分段落权限控制后,文档保存速度很慢是什么原因?
需要看一下你具体的代码才能确定问题,请将代码打包上传上来 就是DEMO程序里面的Workflow这个例子。如果设置了可编辑区域后,保存的时候很慢。
private void frmEditor_FormClosing(object sender, FormClosingEventArgs e) {
// check whether editable regions have been added
if (textControl1.EditableRegions.Count == 0) {
e.Cancel = MessageBox.Show("You did not create any editable regions. To test this functionality, please add at least one editable region.\r\nDo you want to exit anyway?",
"Document Editor", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.No;
}
// save the document
byte[] bDocument = null;
textControl1.Save(out bDocument, TXTextControl.BinaryStreamType.InternalUnicodeFormat);
this.Document = bDocument;
}
这个是产品目前本身存在的问题,暂时没有什么解决的办法
页:
[1]