• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 460
  • Last Modified:

richtextbox text height

i have RichTextbox contains words which are differ in size and color .. so on , i will print this richtextbox using selprint but i want to know the height of the RichTextBox contents because i will draw a line for example after it , what i can do now is just define the RichTextBox itself height but this not what i want , any help
1 Solution
Why don't you try this...?

ht = TextHeight(rtbText.Text)


Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now