Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
How to use GetTextExtentPoint32() in C#. Please provide sample code.
Here[^]
so you meant to say that APIs which we use in C++ needs to access via using DLL import. and in C# there is no other way to use these API directly.
AFAIK that is the only way. The API is unmanaged code while your C# code is managed. If you have to make them communicate, that is the way.