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 12-05-2012, 18: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 17:45.
Reply With Quote
  #2  
Old 25-05-2012, 13:55
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,769
Blog Entries: 9
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.

-Shelby
Reply With Quote
Reply

Tags
patternfill


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


All times are GMT -5. The time now is 00:56.


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