OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Old 01-02-2006, 10:49
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.

Reply With Quote
Old 01-02-2006, 11:23
Alex's Avatar
Alex Alex is offline
Join Date: Nov 2002
Posts: 1,941
Blog Entries: 4

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:

myData = ActiveShape.ObjectData("Profile").Value
Reply With Quote

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 07:41
is it possible import data from datagrid columns? olympiatr CorelDRAW/Corel DESIGNER VBA 0 12-01-2005 17:20
Is Corel to Excel data exchange possible? alex69 CorelDRAW/Corel DESIGNER VBA 8 24-06-2004 05:52
Read Data from Excel File LxRAE CorelDRAW/Corel DESIGNER VBA 5 14-04-2004 03:10
reading data from file and generate "labels" LxRAE CorelDRAW/Corel DESIGNER VBA 4 23-01-2004 05:05

All times are GMT -5. The time now is 02:34.

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