PrepAway - Latest Free Exam Questions & Answers

Which code should you add to the application?

You have a Windows Forms application that contains an embedded Visio Drawing Control. You have an Office Visio 2007 drawing saved as C:\Template.vsd. You need to configure the application to load and display the drawing as a template by using the Visio Drawing Control. Which code should you add to the application?

PrepAway - Latest Free Exam Questions & Answers

A.
Me.axDrawingControl1. Document. Application.Documents.Open( ” C:\Template.VSD ” )

B.
Me.axDrawingControl1.Window.Application.Documents.Open( ” C:\Template.VSD ” )

C.
Me.axDrawingControl1.Src = ” C:\Template.VSD “

D.
Dim openDockedFlag As Short = CShort(Visio.VisOpenSaveArgs.visOpenDocked) Me.axDrawingControl1.Window.Application.Documents. OpenEx(“C:\Template.VSD”,openDockedFlag)


Leave a Reply