Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I read text elements from a .dgn file. I only can get the "height", "length" attribute of the text (it doesn't have a "size" attribute) (example: total height = 0.9; total length = 8.6).

I need to add these text elements into a PageLayout of Arcgis. I used the IFontDisp to identify font attributes for text. It requires to identify the "size" attribute. How can I know that ?

ITextElement pTextElement = new TextElementClass();
IFontDisp pFont = new StdFontClass() as IFontDisp;
pColor = new RgbColorClass();
pColor.Red = 0;
pFont.Name = fontName;
pFont.Size =  **???**
pFont.Weight = weight;
share|improve this question
What are the units on your pagelayout (inches or mm)? I think font sizes are in points. 72 points = 1 inch. – Kirk Kuykendall Oct 30 '12 at 16:28
Confirmed: – blah238 Oct 30 '12 at 17:09
@Kirk Kuykendall: the unit of my pagelayout is: cm. What is the size value for this ? (expected size value should be similar size 11 of arial font) – taibc Oct 31 '12 at 1:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.