C
Codebusters
Hi,
I've looked at all MS documentation about visConnectionPoint, but I still
can't solve my problem:
My VB program will get all the FromPart and ToPart info of a Visio document,
and also the connects and connection points, and write them all to an Access
table. After I do some processing in Access, my goal is to re-draw the Visio
exactly as the original using the PinX, PinY, and connects information I
already have.
The program re-draws the Visio shapes just fine, placing them exactly as
before. It also makes the correct connections, going from the begin to the
end shapes as expected. The only problem is that the begin and end
connection points do not get placed as in the original. They get connected
in some order I think is just random. The result is a lot of criss-crossed
lines and the document looks untidy.
The connection points that are retrieved by the method are 1, 2, 3, and 4,
which I believe means Left, Top, Right, and Bottom. It seems intuitive, but
I'm wondering now whether this is correct.
If anyone has any thoughts or experience with this, I would really
appreciate your help.
Thanks,
Regards,
RB
I've looked at all MS documentation about visConnectionPoint, but I still
can't solve my problem:
My VB program will get all the FromPart and ToPart info of a Visio document,
and also the connects and connection points, and write them all to an Access
table. After I do some processing in Access, my goal is to re-draw the Visio
exactly as the original using the PinX, PinY, and connects information I
already have.
The program re-draws the Visio shapes just fine, placing them exactly as
before. It also makes the correct connections, going from the begin to the
end shapes as expected. The only problem is that the begin and end
connection points do not get placed as in the original. They get connected
in some order I think is just random. The result is a lot of criss-crossed
lines and the document looks untidy.
The connection points that are retrieved by the method are 1, 2, 3, and 4,
which I believe means Left, Top, Right, and Bottom. It seems intuitive, but
I'm wondering now whether this is correct.
If anyone has any thoughts or experience with this, I would really
appreciate your help.
Thanks,
Regards,
RB