Jump to content


Recommended Posts

Hi there

Could someone please help me.

I have used the CreateWSImage() in a plugin.

The PIO allows me to select a Worksheet from a list in the object browser. Works really well but ..........

If i have more than one of these PIO within the same document the PIO displays a blank. The PIO will also show blank even if the WS Image has been placed Manually.

So it looks as if CreateWSImage() will only place 1 worksheet image within a file.

Does anyone have a solution so i can display more than one instance within the same document.


John Greaney

Win Vista 2008

Link to comment

The script needs to pass a Handle to a valid WSObject.

The procedure defaults to> Handle>first WSObject > RBContainer... end of story.

It could just as well point to the first WSObject instance on the ActiveLayer.

Or all objects of T=WS could be selected and individually displayed via multiple OIP.

There are various procedures available to list Objects of Type or create an array of Objects of Type

and then utilize recursion or sort or dialog to Handle the list.

But I'm, certainly, no expert in VS.

Other better informed Users can probably provide you with the working code in the VS Forum.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...