comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » problem:symbol not be showed in IdlgrPlot object etc.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: problem:symbol not be showed in IdlgrPlot object etc. [message #46127 is a reply to message #46013] Mon, 31 October 2005 11:03 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
shengbaojun wrote:

<sigh>

> The Second, VB、VC etc. must use axIDLDrawWidget1.DrawID as draw
> id;But,C# can use IDLDrawWidget1 as draw id directly,I have filfulled
> it.The world map can be draw corretly.

Are you sure? You are drawing the map, but maybe you're just lucky. I
don't know why you wouldn't pass the DrawID property even if it does
work without it? It's confusing. Have you even tried passing the draw
ID in the method I suggested?

I find it hard to believe that the AX control behaves so differently in
C#. For instance, why, in C#, would the control parse the command you
send via ExecuteStr to pull out the string "IDLDrawWidget1" and use that
to get a reference to the draw widget when in the VB and VC case you
need to pass the draw ID as a long value which represents the drawID
converted to a string? I'm not saying it can't work in this way, but I
would be surprised.

Surprised enough that if something wasn't working that I would try a
different approach. *Maybe one similar to the examples shipped with IDL
and suggestions posted to the news group* And in the end, if they both
work the same at least your code would be a little more understandable.


> My quesion is:
> 1. I have filfull the background map drawing,using the IDLgrPolyLine
> and the data source is *.shp,I want to overlay some symbols to this
> background map,the polylines can be drawn,but the symbols can't be
> drawn.

Did you try applying any of the changes I suggested? Especially the
changes to the transformations to your symbols? Asking the same
question again without telling us what you have tried is not productive.


> 2. Are there a good method to get variable value from IDL 's Object
> program model in C# environment.And now ,I use SetOutputWnd but not
> GetNamedData.

As we have said before, I suggest that you attack this problem in two
steps. Get the IDL code working in IDL as a first step, then work on
the C# side of things. *S-I-M-P-L-I-F-Y*


-Rick
[Message index]
 
Read Message
Read Message
Previous Topic: Re: rebinning histogram
Next Topic: IDLgrWindow Setting - Why render image gets erased?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 18 18:28:43 PDT 2025

Total time taken to generate the page: 1.49281 seconds