UserProfile Class

 

This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see Bing Maps REST Services. 

Contains optional settings that define the end user.


public class UserProfile

Name

Description

UserProfile 

Initializes a new instance of a UserProfile object.

Name

Description

CurrentHeading 

A Heading Class object specifying the direction that the user is currently heading. Optional. The default Heading.Orientation Property value is 0, which is north.

CurrentLocation 

A UserLocation Class object specifying the current location of the user. Optional.

DeviceType 

A DeviceType Enumeration value specifying the device type of the end user. Optional. The default value is Desktop.

DistanceUnit 

A DistanceUnit Enumeration value specifying the units to use when measuring distances. Optional. The default value is Kilometer.

IPAddress 

A string specifying the IP address of the end user. Optional.

MapView 

A ShapeBase Class object specifying the bounds of the map view. Optional.

ScreenSize 

A SizeOfint Class object specifying the size of the available screen space, in pixels. Optional.

Show: