Could you please post an example of the use of the ZoomArea method? I am having problems with syntax(most specifically for the nLeft, nTop, nWidth and nHeight) in order to get it to function correctly. Thank you for your time and assistance.
Jessica
ZoomArea Method
Re: ZoomArea Method
Hi Jessica,
I give you a sample to catch the coordinates of the selection rectangle and to zoom on this area:
Hope this helps.
Best regards,
Loïc Carrère
I give you a sample to catch the coordinates of the selection rectangle and to zoom on this area:
Code: Select all
Dim nLeft As Long, nTop As Long, nWidth As Long, nHeight As Long
Call GdViewer1.GetRectValues(nLeft, nTop, nWidth, nHeight)
Call GdViewer1.ZoomArea(nLeft, nTop, nWidth, nHeight)
Best regards,
Loïc Carrère
Who is online
Users browsing this forum: Majestic-12 [Bot] and 2 guests