How do I measure the size of a String of text? #3129
Answered
by
ADev531
jason-pezzimenti
asked this question in
Q&A
-
When I'm making custom controls for Windows Forms, I can use either TextRenderer or e.Graphics.MeasureString to achieve this, however I don't know how to do this here. Is there any documentation regarding this? |
Beta Was this translation helpful? Give feedback.
Answered by
ADev531
Jan 18, 2025
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jason-pezzimenti
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PCScreenFont.Default.Width * (string length)