- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to determine the width of the longest text string in order to set a table column width. Geometric extents only work if the text is added to the database - I'd rather not do that.
There are some examples of "ExtentsBox" (like >>this one<<< from Phillipe Leefsma) but that is sort of old (May 2012). If I need to use that, how do I determine the "EntryPoint"?
There is another example >>here<< from Balaji Ramamoorthy that includes instructions on how to obtain the "mangled name" using "dumpbin" but I am not sure what to look for.
I need this:
[DllImport("acdb18.dll",
CharSet = CharSet.Unicode,
CallingConvention = CallingConvention.Cdecl,
EntryPoint =
"?fromAcDbTextStyle@@YA?AW4ErrorStatus@Acad@@AAVAcGiTextStyle@@PB_W@Z")]
private static extern ErrorStatus fromAcDbTextStyle(
System.IntPtr style, string styleName);
translated to something I can use in Civil3D 2016 (I believe the entrypoint is in acdb20.dll).
TIA
Solved! Go to Solution.