Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CONNECT C++] Question about FontMaps

$
0
0
Could you clarify if you need to a.) list all known/available "system" MicroStation resource based fonts, and/or b.) list all MicroStation resource based fonts having been used in the current design file.

From what I can see the DgnFontMap is a file specific (unique font id) map generated over the lifecycle of the design file. In other words, TextStyles can be (maintenance) compressed to remove any currently unused TextStyle definitions though in MicroStation CONNECT APIs I don't currently see anything Public and analogous allowing you to determine from a DgnFontMap if a certain font type is currently in use or not.

If you need to list/extract "a.)" above then DgnFontManger VisitFonts should allow you to see all visible/accessible MicroStation resource based fonts passing DgnFontFilter::Resource.

Bob

Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>