Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, January 6, 2009 12:21:54 PM(UTC)

GregR  
GregR

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. 
File Attachment(s):
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.066 seconds.