CartoType .NET API 8.8-7-gb35e4dc71
for development in C#, Visual Basic and other .NET languages
Public Member Functions | Properties | List of all members
CartoType::ViewState Class Reference

The view state, which can be retrieved or set so that maps can be recreated. More...

#include <CartoTypeWrapper.h>

Public Member Functions

Result ReadFromXml (String^ aText)
 Reads a view state from its XML form.
 
String ^ ToXml ()
 Creates a string representing a view state in XML.
 

Properties

int WidthInPixels
 The display width in pixels.
 
int HeightInPixels
 The display height in pixels.
 
double ViewCenterDegreesX
 The X coordinate (longitude) of the view center in map coordinates.
 
double ViewCenterDegreesY
 The Y coordinate (latitude) of the view center in map coordinates.
 
double ScaleDenominator
 The denominator of the scale fraction; e.g., 50000 for 1:50000.
 
double RotationDegrees
 The clockwise rotation of the view in degrees.
 
bool Perspective
 True if perspective mode is on.
 
PerspectiveParamPerspectiveParam
 The parameters to be used for perspective mode; if null, default parameters are used.
 

Detailed Description

The view state, which can be retrieved or set so that maps can be recreated.


The documentation for this class was generated from the following file: