2011-03-23 1 views

답변

0

친구에서 WithEvents AxDC로서 AxMicrosoft.Office.Interop.VisOcx.AxDrawingControl

currentPage = AxDC.Document.Pages (1) currentStencil = AxDC.Document.Application.Documents.OpenEx (File_name에, VisOpenSaveArgs.visOpenDocked)

어둡게 shapeRack로서 Microsoft.Office.Interop.Visio.Shape = currentPage.Drop (currentStencil.Masters ("랙"), 1, 6)로서는 Microsoft.Office.Interop.Visio.Shape

어둡게 shapeSrver = .Drop (currentStencil.Masters ("Server"), 0, 0)

''여기 코드가 있습니다 ...!

shapeSrver.Cells ("BeginX"). GlueTo (shapeRack.CellsSRC (7, 0, 0))

shapeSrver.Cells ("EndX"). GlueTo (shapeRack.CellsSRC (7, 1, 0))

관련 문제