LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Number of lines in a paragraph

  • How to count number of lines in a paragraph (string control) 
0 Kudos
Message 1 of 4
(998 Views)

What exactly is a "line" in a paragraph?

 

Are you talking about how many times the paragraph wraps around?

 

There is no one answer to that because it depends on how the page is formatted.  Font, font size, distance between margins.  One paragraph in a newspaper is going to take up a lot more lines than in a tiny font on an 8.5" x 11" piece of paper.

0 Kudos
Message 2 of 4
(984 Views)
  • I have some lines of paragraph in my string control. How to count the number of lines. 
0 Kudos
Message 3 of 4
(975 Views)

Don't create a new thread with the same question.

You still haven't defined what you mean by "lines in a paragraph".

 

Why don't you attach a VI with some data saved in it, and point how what it is you?  What is that number is for the specific example you show?

 

Also, why do you need this piece of information?  What will you do with it?  Often, knowing why you want to do something really has nothing to do with the question you asked.  There might be an alternative, better way to get to whatever you goal is.

0 Kudos
Message 4 of 4
(960 Views)