共用方式為


IVMDisplay interface

The IVMDisplay interface controls the display settings of a virtual machine. The IVMDisplay for a virtual machine can be retrieved using the IVMVirtualMachine::Display property.

When to use

Use the IVMDisplay interface to access and manipulate the display settings of a virtual machine.

Members

The IVMDisplay interface inherits from the IDispatch interface. IVMDisplay also has these types of members:

Methods

The IVMDisplay interface has these methods.

Method Description
_GenerateThumbnail Retrieves an array of pixels representing a thumbnail image of the virtual machine's screen.
SetDimensions Sets the height and width, in pixels, of the virtual machine's display.

Properties

The IVMDisplay interface has these properties.

Property Access type Description
Height
Read-only
The current height, in pixels, of the virtual machine's display.
Thumbnail
Read-only
An array of pixels representing a thumbnail image of the virtual machine's screen.
VideoMode
Read-only
The current video mode of the guest operating system (Text, VGA, SVGA, and so on).
Width
Read-only
The current width, in pixels, of the virtual machine's display.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IDispatch