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.
Syntax
public class UserProfile
Public Class UserProfile
Constructor
Name |
Description |
---|---|
Initializes a new instance of a UserProfile object. |
Public Properties
Name |
Description |
---|---|
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. |
|
A UserLocation Class object specifying the current location of the user. Optional. |
|
A DeviceType Enumeration value specifying the device type of the end user. Optional. The default value is Desktop. |
|
A DistanceUnit Enumeration value specifying the units to use when measuring distances. Optional. The default value is Kilometer. |
|
A string specifying the IP address of the end user. Optional. |
|
A ShapeBase Class object specifying the bounds of the map view. Optional. |
|
A SizeOfint Class object specifying the size of the available screen space, in pixels. Optional. |