Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Support for getting text lines from ShapeNode (Read 2863 times)
Z
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Mar 9th, 2017
Support for getting text lines from ShapeNode
Mar 14th, 2017 at 8:57am
Print Post  
As a dev I would like to have access to text lines from ShapeNode, especially when the text in ShapeNode is wrapped.

Explanation:
If the text in ShapeNode is wrapped or ShapeNode accepts returns (new lines) I would like to get the collection of text lines representig what user sees.
If the text in ShapeNode is not wrapped, but the ShapeNode accepts returns (multilines), it should be possible to get text lines as well.
If there are empty lines in ShapeNode (many 'enters') the collection of lines should contain empty strings.

Propsal:
IEnumerable<string> TextLines public read only property or
IEnumerable<string> GetTextLines() public method would be enough.

Best Regards,
Z
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Support for getting text lines from ShapeNode
Reply #1 - Mar 21st, 2017 at 5:09pm
Print Post  
Please find this implemented here -
https://mindfusion.eu/_beta/wpfdiag_textlines.zip

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint