Dear All,
I need to find the raster 4 corners coordinate using Microstation v8 VBA. Could you please let me know how to find the coordinates?.
Thanks in advance.
Unknown said:I need to find the raster...
Have you looked at the Raster Object in VBA help?
Please confirm which version of MicroStation V8 you are using.
Regards, Jon Summers LA Solutions
Unknown said: I didn't find any help in your link
The link takes you to a page that shows you where to find MicroStation VBA help. MicroStation VBA help is already installed on your computer.
If you don't want to look for VBA help, then invoke it automatically in the VBA IDE...
Hi,
Unknown said:I didn't find any help in your link.
What Jon wrote is you should at first read MicroStation VBA help that is delivered with MicroStation installation (and as such available to all users).
I searched for "raster coordinate" phrase and I received several results, e.g. Origin property of GeoReferenceInformation object. There is even a code available, so in MicroStation VBA help you should be able to find the answer for your question.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Unknown said:don't answer blindly.
Nobody is answering blindly. Our answer has been "The answer including code example is already available in MicroStation VBA help (specifically at page about Origin Property and its usage with GeoRefeenceInformation). Please be specific what is "blind" at this answer.
Personally don't see any reason to copy-paste text from help file which is already on your computer, because help file with hyperlinks is always more usefull than plain text copied into answer.
Regards,
Is it enough "not blind" answer?
There is no such information available, you have to calculate it yourself using origin, extent, rotation and affinity (if used) properties. Regards, Jan