OberonPlace.com Forums

OberonPlace.com Forums (http://forum.oberonplace.com/index.php)
-   Corel Photo-Paint VBA (http://forum.oberonplace.com/forumdisplay.php?f=17)
-   -   Get ObjectID? (http://forum.oberonplace.com/showthread.php?t=7921)

Greeny 13-12-2011 15:42

Get ObjectID?
Hi I have an Existing PhotoPaint Document, with many objects already created.

I can open the document in VBA, but many Corelscript methods require an ObjectID to be passed in.

I can enumerate through the existing layers, but how can i find
the ObjectID for each so i can manipulate them ?
There doesnt seem to be something like a GetObjectID method.

Thanks in advance

shelbym 13-12-2011 16:35

Objects are numbered and identified according to their image order (from back to front): the first object is identified as 0, the second from the back is identified as 1, and so on. The background is considered an object, and because no other object can be placed below the background, it is always identified as 0.


Greeny 13-12-2011 19:29

Object ID
Ok, Thanks for the reply

All times are GMT -5. The time now is 03:15.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com