MapMode.ViewportSize Property

This documentation is no longer available on MSDN, however it is available as a CHM download.

Gets or sets the size of the viewport.

Namespace: Microsoft.Maps.MapControl.Core
Assembly: Microsoft.Maps.MapControl.Common (in Microsoft.Maps.MapControl.Common.dll)

Usage

Syntax

'Declaration
Public Property ViewportSize As Size
public Size ViewportSize { get; set; }
public:
property Size ViewportSize {
    Size get ();
    void set (Size value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public Size get_ViewportSize ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_ViewportSize (Size value)
CompilerGeneratedAttribute 
public function get ViewportSize () : Size

CompilerGeneratedAttribute 
public function set ViewportSize (value : Size)

Property Value

Returns Size.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

MapMode Class
MapMode Members
Microsoft.Maps.MapControl.Core Namespace