OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 11-06-2009, 05:43
lebaron lebaron is offline
Junior Member
Join Date: Nov 2007
Posts: 20
Default Using set_ResampleHandler() in import process ?

Hi !

Wat is the syntax and method for using this function?
It is the way for prompt ui, or display a message during the import process ?

Reply With Quote
Old 17-06-2009, 01:59
wOxxOm's Avatar
wOxxOm wOxxOm is offline
Senior Member
Join Date: Mar 2005
Posts: 836

why would you want to use it btw?

anyway you should add a class module to your project and add a tools->reference to coreldraw vector library then code the class:
Implements VGCore.IImportResampleHandler

Private Function IImportResampleHandler_Resample(ByVal opt As VGCore.IStructImportResampleOptions) As Boolean
End Function
actual import code:
dim sio As StructImportOptions
Set sio = CreateStructImportOptions
Set sio.ResampleHandler = oResampler
sio.Mode = cdrImportResample
ActiveLayer.Import "some file", , sio
Reply With Quote

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
Import like Corel TheFez CorelDRAW/Corel DESIGNER VBA 0 30-12-2008 04:11
Find Group ungroup it then process and again group derasje Macros/Add-ons 2 19-11-2008 04:04
Convert Pantone process colour to normal CMYK colours Matthias General 14 10-06-2008 13:50
using the same corel in process bbolte CorelDRAW/Corel DESIGNER VBA 13 06-06-2007 10:04
Generic code to process all shapes in a document glennwilton CorelDRAW/Corel DESIGNER VBA 0 05-09-2003 03:13

All times are GMT -5. The time now is 17:52.

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