MapDlgGetMapPixel()

Write here what nice effects or shows you have done with MADRIX or ask other users.

Moderator: MADRIX Team

Locked
pjveltri
Posts: 5
Joined: Sat Dec 14, 2013 7:42 pm

MapDlgGetMapPixel()

Post by pjveltri »

How does one use MapDlgPixelGetMapPixel() to give the x,y,w & h a starting value?

I'm trying to post it into an int named x and am unable how to figure out how to use it at all!

Help Please!
PJ
Guertler
Support
Support
Posts: 908
Joined: Tue Feb 04, 2014 10:47 am

Re: MapDlgGetMapPixel()

Post by Guertler »

Hello pjveltri,
.
To give a start value for the map you have to use the script function: "MapDlgSetMapPixel(int x, int y, int w, int h)" These function allows you to set the start possiton for X- and Y-coordinate, the width (Size X) and the height (Size Y) for the map.
.
If you use the MapDlgGetMapPixel(int map[]) function you will get the current mapping setting for the layer with the positions (X- and Y-coordinate), the width and the height. Please pay attention: the values will be saved in an interger field.
.
If you have any further questions, please do not hesitate to contact us again!
Thank you.
Locked