![]() |
#1
|
|||
|
|||
![]()
Hello!
I am automating CorelDraw by using the Variant class, i.e. in Delphi: var vCorelApp: Variant; [...] vCorelApp := CreateOleObject('CorelDraw.Automation.8'); vCorelApp.SetVisible(0); or in C++Builder: Variant vCorelApp; [...] vCorelApp = CreateOleObject("CorelDraw.Automation.8"); vCorelApp.OleFunction("SetVisible", 0); and so on. Now I need to get data from Corel`s script function GetSize which has this declaration in Corel Help: .GetSize .XSize = long*, .YSize = long* i.e. GetSize returns datas by function arguments. How can I receive XSize and YSize from GetSize function? Any code example will be appreciated. TIA, Elie |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to use getpixel() to get the Image color? | lees | CorelDRAW/Corel DESIGNER VBA | 6 | 17-10-2004 00:13 |
Printing Raw Prn Files | Mark | Code Critique | 2 | 16-09-2004 16:15 |
Function names | Lev | Oberon Function Plotter | 1 | 29-08-2003 11:04 |
takes Draw a long time to start a new document! | bbolte | CorelDRAW/Corel DESIGNER VBA | 5 | 14-05-2003 09:09 |
SaveAs function not working in PP11 | Aneurysm | Corel Photo-Paint VBA | 2 | 03-03-2003 17:31 |