View Single Post
  #1  
Old 10-09-2020, 23:22
iceage3 iceage3 is offline
Junior Member
 
Join Date: May 2009
Posts: 19
Default Help! Why the ApplyPatternFill Method take so much time?

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
Reply With Quote