![]() |
|
#11
|
|||
|
|||
|
Hi Shelby.
My problem has not yet been resolved. I can not cope with the gradients. I can select uniform fills, outlines but I can't select gradients are not CMYK. Can you help me? Thanks for your time. ~GrzJanik |
|
#12
|
||||
|
||||
|
For a Fountain Fill you need to loop each color in the fill and test to see if it is CMYK, so something like this:
Code:
Sub NotCMYKFountainFills()
Dim s As Shape
Dim ff As FountainFill
Dim srNoneCMYK As New ShapeRange
Dim i As Long
For Each s In ActivePage.FindShapes()
If s.Fill.Type = cdrFountainFill Then
Set ff = s.Fill.Fountain
For i = 0 To ff.Colors.Count + 1
If ff.Colors(i).Color.Type <> cdrColorCMYK Then
srNoneCMYK.Add s
End If
Next i
End If
Next s
srNoneCMYK.CreateSelection
End Sub
-Shelby |
|
#13
|
|||
|
|||
|
Thanks Shelby.
Thats great work! Best regards ~GrzJanik |
![]() |
| Tags |
| cmyk, objects |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| v11 images opening in CMYK, not RGB as saved | mascotgraphics | General | 6 | 19-11-2009 17:05 |
| How to get or setup a shape's RGB /CMYK Values | mitchellhu | CorelDRAW/Corel DESIGNER VBA | 13 | 05-12-2007 10:48 |
| Convert CMYK to RGB | jooksingjai | General | 1 | 30-07-2007 23:07 |
| CMYK color Palette in CORELDRAW X3 | whitechapel | General | 2 | 20-04-2007 02:29 |
| EPS Exports to CMYK... Argh! | ddonnahoe | CorelDRAW/Corel DESIGNER VBA | 3 | 11-06-2004 22:07 |