绘制,移动,调整线条大小。 [英] Draw, move, resize lines.

查看:86
本文介绍了绘制,移动,调整线条大小。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,我在XAML工作,我有一个CANVAS,我想在绘制一条线时,在末尾显示标签,字符串或文字该行;
$


我可以在行尾插入文字,但我可以移动并调整文本大小,有人可以帮助我??。


此示例:  Example.xaml


解决方案

嗨Aleandro09890,


>>我想在绘制一条线时,在该行的末尾显示标签,字符串或文字

你的意思是在完成每一行的绘制后总会出现一个消息框?

>>我可以在行尾插入文字

这是否意味着您已经按预期获得了消息框?

>>但我可以移动并一起调整文本大小

消息框随着行移动,这不是你想要的东西吗?


使用您提供的示例,这是我得到的:



如果你能提供更多有关需求的详细信息会更好。


最好的问候,


Annievia Chen



Hello everyone, I work with XAML where I have a CANVAS, I would like it when drawing a line, display a label, string or text at the end of the line;

I can insert text at the end of the line, but I can move and resize the text together, someone can help me ??.

This a sample:  Example.xaml

解决方案

Hi Aleandro09890,

>>I would like it when drawing a line, display a label, string or text at the end of the line
You mean a message box always come out after finish drawing each single line?
>>I can insert text at the end of the line
Does this mean you already got the message box as expected ?
>>but I can move and resize the text together
The message box moves with the line, and this is not the thing you want?

With the example you provided ,here is what I got:

And it would be better if you could  provide more details about the need .

Best Regards,

Annievia Chen


这篇关于绘制,移动,调整线条大小。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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