OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Old 12-05-2012, 17:08
vitoe vitoe is offline
Junior Member
Join Date: May 2012
Posts: 1
Post Corel X5 PatternFill from CDR Page Other Than 1

I am using VBA and ApplyPatternFill to try to get a full color pattern from another CDR file. It works if I use a cdr as the file parameter, but my problem is that it defaults to using the first page. Is there a way I can get a pattern and apply as a fill from various pages other than the first? Should I be using the PatternCanvasIndex somehow, or is there another way to assign a fill other than the ApplyPatternFill method?

Last edited by vitoe; 14-05-2012 at 16:45.
Reply With Quote
Old 25-05-2012, 12:55
shelbym's Avatar
shelbym shelbym is offline
Senior Member
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,770
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 PatternFill

As far as I know, it only works for the first page. If you wanted to support fills on other pages, you could open a copy of the document, remove all the pages except the one you wanted or generate a fill from every page. I can think of a few ways this could work.

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
Corel Draw help, page overspill? isabellablake General 1 09-12-2011 00:02
macro add a page after (exact height and width)currently active page buga Macros/Add-ons 1 20-01-2011 04:42
reading text from a Corel Draw page to a Macro neilmckenzie Macros/Add-ons 1 04-10-2010 00:12
Duplicating original page for multi-page layout psypha General 1 06-08-2007 14:05

All times are GMT -5. The time now is 20:09.

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