DBgetViewParameter

Top  Previous  Next

Investigate from window settings.

In Moskito many plan windows can be opened arbitrarily with other views. In addition a new window must be announced in Moskito (DBloginView), the window must be cancelled (DBlogoutView) and one can put the parametres for the window (DBsetViewParameter) and question on the parametres.

Parametre

root (PROOT) [IN]

Act on the open data bank.

addr (void *) [IN]

M_Param_Beschr

art (int) [IN]

Kind of the requested Informationen:.

x (stands in *) [IN / OUT]

Middle on the Y axis fetch.

y (stands in *) [IN / OUT]

Width of the window fetch.

text (char *) [IN / OUT]

Width of the window fetch.

index (int) [IN]

Width of the window fetch.

Result

---

Remarks

According to input value in "art" the parametres x, y and text are used differently.

Kind

Numerical value of kind

X

Y

text

index

Meaning

DB_VIEW_CENTER

1

Legal value

High-level value

 

 

Centre of the window

DB_VIEW_RANGE

3

Width

Height

 

 

Logical size of the announcement area (m)

DB_VIEW_FULLCENTER

4

Legal value

High-level value

 

 

Centre of the full picture area

DB_VIEW_FULLRANGE

5

Width

Height

 

 

Logical size of the full picture area

DB_VIEW_MARKERSIZE

6

Pixel

 

 

 

Size of the marker symbols

DB_VIEW_ROTATION

7

Corner

 

 

 

Rotary corner of the announcement, must be 0

DB_VIEW_PIXELSIZE

8

Metre

 

 

 

Size 1 pixel of the monitor

DB_VIEW_METER_PER_PEL

9

Metre

 

 

 

Size of a screen pixel in world co-ordinates

DB_VIEW_SIGNATUR_NR

10

Number

 

 

 

Number of the signature table, std is 2

DB_VIEW_WINDOWSIZE

11

Width

Height

 

 

Size of the suitable window in pixel

DB_VIEW_ZOOMUNDO

12

Order

 

 

 

x includes +/-1 for Before or Back, 0 for memories of the topical values

DB_VIEW_SCALERANGE

13

Minimum graduation

Maximalmaxstab

 

 

x contains minimalmaßstab, y includes maximalmaßstab

DB_VIEW_COORDSYS

14

Minimum graduation

Maximalmaxstab

Name of the co-ordinate system

Index in the definition field

x minScale, y maxScale, text co-ordinate system, idx index in the field

Declaration

#include "database.h"

 

void DLLENTRY DBgetViewParameter (

PROOT root,

void * addr,

int art,

stand in * x,

stand in * y,

);

Related functions

DBloginView

DBlogoutView

DBsetViewParameter