Table of contents
TOC
Collapse the table of content
Expand the table of content

Viewer.DisplayPropertyDialog Method (Visio Viewer)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Displays the Properties and Settings dialog box at the specified screen coordinates, in pixels, in Microsoft Visio Viewer.

Syntax

expression. DisplayPropertyDialog( ScreenX, ScreenY)

_expression_An expression that returns a Viewer object.

Parameters

NameRequired/OptionalData TypeDescription
ScreenXOptionalVariantThe x-coordinate, in pixels, of the point where the dialog box should appear, relative to the origin of the frame of the screen.
ScreenYOptionalVariantThe y-coordinate, in pixels, of the point where the dialog box should appear, relative to the origin of the frame of the screen.

Return Value

Nothing

Remarks

Use the optional screenXand screenY parameters to specify the coordinates of the point where you want the dialog box to appear, relative to the origin of the frame of the screen. The origin of the screen frame is in the upper left corner. If you do not specify coordinates, the dialog box appears in its default position, at the lower right corner of the Visio Viewer control.

Example

The following code displays the Properties and Settings dialog box at screen coordinates (300, 300).



Dim lngScreenPosX As Long 

Dim lngScreenPosY As Long

lngScreenPosX = 300

lngScreenPosY = 300 

vsoViewer.DisplayPropertyDialog lngScreenPosX, lngScreenPosY

© 2018 Microsoft