- Welcome, Guest. Please Login or Register
MindFusion  
  Version 2 of our Xamarin Calendar component adds Resource view and support for Universal Windows Platform. Now beta testing spreadsheet component for Java Swing. We have released our Java Swing Pack.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Page Index Toggle Pages: 1 Send Topic Print  
Support for getting text lines from ShapeNode
Read 329 times

Z   Offline
YaBB Newbies
*
Posts: 9
I Love MindFusion!


   
     
 
Support for getting text lines from ShapeNode
Mar 14th, 2017 at 9:57am
 
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
 
 
 
IP Logged    
 
     

Slavcho   Offline
God Member
*****
Posts: 1100
Gender: male
tech.support


   
     
 
Re: Support for getting text lines from ShapeNode
Reply #1 - Mar 21st, 2017 at 6:09pm
 
Please find this implemented here -
http://mindfusion.eu/_beta/wpfdiag_textlines.zip

Regards,
Slavcho
Mindfusion
 
 
 
IP Logged    
 
     
Page Index Toggle Pages: 1 Send Topic Print