A Sandcastle Documented Class Library

# ViewportDataData Class

The DTO object for a ViewportData.
Inheritance Hierarchy
System
Object
Dundas.BI.WebApi.Models
BaseDataContract
Dundas.BI.WebApi.Models
ViewportDataData

Namespace: Dundas.BI.WebApi.Models
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [DataContractAttribute]
    public class ViewportDataData : BaseDataContract

    <DataContractAttribute>
    Public Class ViewportDataData
    	Inherits BaseDataContract

    [DataContractAttribute]
    public ref class ViewportDataData : public BaseDataContract

    [<DataContractAttribute>]
    type ViewportDataData =
        class
            inherit BaseDataContract
        end

The ViewportDataData type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| ViewportDataData | Initializes a new instance of the ViewportDataData class.

Top
Properties

| Name | Description
--- | --- | ---
| BoundHeight | Gets or sets the height of the bound for the current view port.
| BoundWidth | Gets or sets the width of the bound for the current view port.
| Height | Gets or sets the height of the current view port.
| UIClassName | Gets or sets the name of the UI class (used for auto de-serialization). (Inherited from BaseDataContract.)
| ViewHeight | Gets or sets the View Height of the current view port.
| ViewWidth | Gets or sets the View Width of the current view port.
| ViewX | Gets or sets the x axis of the current view port.
| ViewY | Gets or sets the y axis of the current view port.
| Width | Gets or sets the width of the current view port.
| X | Gets or sets the x position of the current view port.
| Y | Gets or sets the y position of the current view port.
| ZoomLevel | Gets or sets the zoom level of the current view port.
| ZoomMouseXDistance | Gets or sets distance of the mouse from the left border of the map.
| ZoomMouseYDistance | Gets or sets distance of the mouse from the top border of the map.

Top
Methods

| Name | Description
--- | --- | ---
| FromDataContractMappings | The mapping between ViewportDataData and ViewportData.
| ToDataContractMappings | The mapping between ViewportData and ViewportDataData.

Top
See Also

#### Reference

Dundas.BI.WebApi.Models Namespace