Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm dropping a text element onto a map and I'd like to use whatever settings the Draw toolbar has (font, size, color, etc).

Is there a convenient way to access symbol interfaces? Or do you have to create those from the individual settings?

enter image description here

share|improve this question

1 Answer 1

up vote 2 down vote accepted

QI/cast from IApplication.Document to IDocumentDefaultSymbols and access its properties, which include default line, marker, text and fill symbols.

share|improve this answer
    
Perfect! I'm glad I asked the question. And I can't believe I haven't needed this before now! Thanks! –  Jay Cummins Jan 4 '13 at 13:21

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.