OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-02-2006, 09:49
akayani
Guest
 
Posts: n/a
Default Read Data Fields...

I've got stuck on this one point...

I want to retrieve one of the Object Data fields...

Kinda like....
myBitMapData = OrigSelection.ObjectData("Profile").Value

I'm just not sure how to get existing data back and into a var.

Yani
Reply With Quote
  #2  
Old 01-02-2006, 10:23
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default

That's pretty much exactly what you need to do. The only thing to keep in mind is that you can't perform this on the Selection as the selection itself doesn't have any data associated with it. It is the individual shapes in the selection that carry the data, so you need to either loop through all of the shapes in the selection to get the data from them, or, if you know that the selection has only one shape in it, you can use ActiveShape to get to that selected shape:

Code:
myData = ActiveShape.ObjectData("Profile").Value
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
data to textboxes VBA? olympiatr CorelDRAW/Corel DESIGNER VBA 1 27-06-2005 06:41
is it possible import data from datagrid columns? olympiatr CorelDRAW/Corel DESIGNER VBA 0 12-01-2005 16:20
Is Corel to Excel data exchange possible? alex69 CorelDRAW/Corel DESIGNER VBA 8 24-06-2004 04:52
Read Data from Excel File LxRAE CorelDRAW/Corel DESIGNER VBA 5 14-04-2004 02:10
reading data from file and generate "labels" LxRAE CorelDRAW/Corel DESIGNER VBA 4 23-01-2004 04:05


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


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