[UWP] LineSpacingRule.Percent总是崩溃? [英] [UWP] LineSpacingRule.Percent always crashes?

查看:63
本文介绍了[UWP] LineSpacingRule.Percent总是崩溃?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用下面的代码将RichEditBox中文本的行间距更改一定百分比,但是当我使用百分比选项时,它总是崩溃。有人可以帮忙吗?

I am using the code below to change the linespacing of text in a RichEditBox by a certain percentage but when I use the percent option it always crashes. Can anyone help?

ITextSelection selection = RichEditboxEdit.Document.Selection;

selection.ParagraphFormat.SetLineSpacing(LineSpacingRule.Percent, 100); 






推荐答案

嗨  qualar1,

Hi qualar1,

我正在尝试做更多研究并咨询这个问题,可能会有一些时间延迟,请提前感谢您的耐心等待。

I am trying to do more research and consult this issue, it maybe have some time delay, appreciate your patience in advance.

祝你好运,

Breeze


这篇关于[UWP] LineSpacingRule.Percent总是崩溃?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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