![]() |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
In CorelDRAW 2017 and upper versions, when I use this ApplyPatternFill method of shape class, it will take about 10 seconds to finish the process. But in the old version like X4,X5,X6,etc, this will be really fast , so why? Anyone can help? We often do lots of patternfill works use VBA ,this means it will take much more time
![]() ![]() Thanks in advance! Sample code like this will take 10 or more seconds in CorelDRAW 2017,2018 and upper versions: Sub test123() ActiveSelection.Shapes(1).Fill.ApplyPatternFill cdrFullColorPattern, "C:\1.pat" End Sub |
#2
|
||||
|
||||
![]()
Try loading it this way instead:
Code:
Sub test123() ActiveSelection.Shapes(1).Style.Fill.LoadFill "C:\Users\Shelby\Documents\Corel\Corel Content\Fills\Starter pack\Vector Pattern 232.fill" End Sub -Shelby |
#3
|
|||
|
|||
![]()
Thank you very much! Shelbym. This is fast indeed. The only problem is that we can't edit .fill files directly.
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the CQL method | derasje | Macros/Add-ons | 7 | 08-05-2010 00:20 |
Looking for info on method... | ddonnahoe | CorelDRAW/Corel DESIGNER VBA | 7 | 30-08-2009 19:14 |
Method to do INSERT PAGE in VB.NET ? | ljesus7 | CorelDRAW/Corel DESIGNER VBA | 0 | 12-02-2007 19:03 |
ApplyPatternFill Full Color Bitmaps | shelbym | Code Critique | 0 | 23-10-2005 04:18 |
ApplyPatternFill | shelbym | CorelDRAW/Corel DESIGNER VBA | 2 | 26-03-2004 13:29 |