OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > Corel Photo-Paint VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-01-2003, 13:44
kaliatech
Guest
 
Posts: n/a
Default Image effects not working.

I'll try to keep this simple. When I run this code as a VBA module, nothing happens. I can get the active document's filename etc, so I know most things are working. If I use the "CorelScript.BitmapEffects ..." loose typed method, the Desaturate works. I don't understand why this code doesn't work though. Any help appreciated. CorelPhotopaint 10 VBA:

Code:
Sub Test()
    Dim crlApp As Application
    Dim crlScript As Object

    Set crlApp = Application
    Set crlScript = crlApp.CorelScript()

    crlScript.ImageDesaturate
    crlScript.EndColorEffect

End Sub
- josh
Reply With Quote
  #2  
Old 17-01-2003, 13:51
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default Re: Image effects not working.

Most of old EffectNNN and some ImageNNN commands are phased out and replaced by a single BitmapEffect command. The old commands are not removed though but simply do nothing. You shouldn't use them. Use BitmapEffect instead.
Reply With Quote
Reply


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
Image picture location RVogel CorelDRAW/Corel DESIGNER VBA 0 31-03-2005 12:05
Apply Outline - Scale with Image geopig CorelDRAW/Corel DESIGNER VBA 4 06-05-2004 07:23
Population of Image Box ddonnahoe CorelDRAW/Corel DESIGNER VBA 10 10-02-2004 13:20
Import image into bounding box Craig Tucker CorelDRAW/Corel DESIGNER VBA 2 07-10-2003 20:06
Save as HTML Image Map adriano Corel Photo-Paint VBA 1 15-04-2003 10:16


All times are GMT -5. The time now is 05:04.


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