OberonPlace.com Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-06-2009, 06: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 ?

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

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:
Code:
Implements VGCore.IImportResampleHandler

Private Function IImportResampleHandler_Resample(ByVal opt As VGCore.IStructImportResampleOptions) As Boolean
................
..............
End Function
actual import code:
Code:
dim sio As StructImportOptions
Set sio = CreateStructImportOptions
Set sio.ResampleHandler = oResampler
sio.Mode = cdrImportResample
ActiveLayer.Import "some file", , sio
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
Import like Corel TheFez CorelDRAW/Corel DESIGNER VBA 0 30-12-2008 05:11
Find Group ungroup it then process and again group derasje Macros/Add-ons 2 19-11-2008 05:04
Convert Pantone process colour to normal CMYK colours Matthias General 14 10-06-2008 14:50
using the same corel in process bbolte CorelDRAW/Corel DESIGNER VBA 13 06-06-2007 11:04
Generic code to process all shapes in a document glennwilton CorelDRAW/Corel DESIGNER VBA 0 05-09-2003 04:13


All times are GMT -5. The time now is 00:57.


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