OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > Corel Photo-Paint VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13-12-2011, 15:42
Greeny
Guest
 
Posts: n/a
Default 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
Greeny
Reply With Quote
  #2  
Old 13-12-2011, 16:35
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,777
Blog Entries: 10
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default ObjectID

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.

-Shelby
Reply With Quote
  #3  
Old 13-12-2011, 19:29
Greeny
Guest
 
Posts: n/a
Default Object ID

Ok, Thanks for the reply
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:30.


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