Solved

In C#, how to measure the length of the string in term of DPI?

Posted on 2011-09-06
3
511 Views
Last Modified: 2012-05-12
Hi,
I have a string of characters and I would like to know it's length in term of DPI or inch etc.
I want to know this length in order to pad the front with empty space for the alignment purpose to fit into a rectangle.
Thanks a lot for your help.
0
Comment
Question by:sdai
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 15

Accepted Solution

by:
Minh Võ Công earned 125 total points
ID: 36486956
0
 
LVL 1

Assisted Solution

by:NajamG
NajamG earned 125 total points
ID: 36487173
0
 

Author Closing Comment

by:sdai
ID: 36487527
Thank you very much for your quick help.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question