LEADTOOLS Support
Document
Document SDK Questions
HOW TO: Use Non-Automated Annotations with VB6 and the ComInterop Interface
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, January 6, 2009 12:21:54 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
For the most part, the ComInterop interface is pretty much the same as the .NET counterpart it wraps. However, VB6 doesn't handle inheritance which can cause a lot of confusion when using our Annotations since we do a lot of class inheritance. Basically, the main object doesn't derive all of its inherited members but instead has a member for its base object that contains those members. For example, if you need to get the FontColor property of an AnnNoteObject, you would have to access it with annNoteObj.AnnTextObject.AnnRectangleObject.AnnObject.AnnDrawable.TextColor.
I've attached a sample project that shows how to use Non-Automated Annotations in VB6 using the v16 ComInterop interface.
LEADTOOLS Support
Document
Document SDK Questions
HOW TO: Use Non-Automated Annotations with VB6 and the ComInterop Interface
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.