10-27-2015, 10:46 PM
Is it possible to use typelib or dispatch in QM2 to access to "System.Drawing" library without the need of using C#?
for example:
Macro Add Bitmap Image
for example:
Macro Add Bitmap Image
Access System.Drawing in QM
|
10-27-2015, 10:46 PM
Is it possible to use typelib or dispatch in QM2 to access to "System.Drawing" library without the need of using C#?
for example: Macro Add Bitmap Image
10-28-2015, 06:41 AM
Not possible. Most classes in System.Drawing.dll aren't COM-visible. You can see it in ILSpy. COM-visible assemblies or classes have attribute [ComVisible(true)].
There are some QM GDI+ classes without .NET: GDI+
10-28-2015, 06:57 AM
Thanks for the clarification. Your explanation helps me understand more about "COM visible" thing.
I could run it using C# though, just wanted to know if I could use it in a more QM way only. |
« Next Oldest | Next Newest »
|