.NET

Reply
Active Member
WangYanbin
Posts: 9
Registered: ‎12-29-2006
Message 1 of 3 (123 Views)

I cannot add a Hyperlinks value,Why?

123 Views, 2 Replies
01-02-2007 07:30 AM
BlockReference bref =new BlockReference(pt,id);
HyperLink hl =new HyperLink();
hl.Description = code;
hl.Name=code;
hl.SubLocation = code;
bref.Hyperlinks.Insert(0,hl);
bref.Hyperlinks.Add(hl);
btr.AppendEntity(bref);
tm.AddNewlyCreatedDBObject(bref, true);
myT.Commit();

This code .i can insert a block,but i can't get the hyperlinks value.I use Autocad and VS.net2003.

Thanks!
Active Member
WangYanbin
Posts: 9
Registered: ‎12-29-2006
Message 2 of 3 (123 Views)

Re: I cannot add a Hyperlinks value,Why?

01-02-2007 07:35 AM in reply to: WangYanbin
I use Autocad2006 and vs.net2003.
Thanks a lot!
Active Member
WangYanbin
Posts: 9
Registered: ‎12-29-2006
Message 3 of 3 (123 Views)

Re: I cannot add a Hyperlinks value,Why?

01-02-2007 06:52 PM in reply to: WangYanbin
Any one can help me ???
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.