OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > CorelDRAW > General

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21-06-2008, 23:58
anlulu
Guest
 
Posts: n/a
Default Convert any object in document into bitmap

Hi,

i want to convert each object-group in document (*.cdr) into a bitmap with only one click. How does it work? Can you help me?

thomas
Reply With Quote
  #2  
Old 23-06-2008, 00:01
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,770
Blog Entries: 10
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Convert to Bitmap

Draw will only convert your selection, if you want to convert the entire page and have each shape your own bitmap you need to write a little code. The code below will convert each shape on the active page to a 300 dpi RGB bitmap. Change the settings to fit your needs.
Code:
Sub ConvertShapesToBitmap()
    Dim s As Shape
    
    For Each s In ActivePage.Shapes
        If s.Type <> cdrBitmapShape Then
            s.ConvertToBitmap cdrRGBColorImage, False, False, False, 300, cdrNormalAntiAliasing, False
        End If
    Next s
End Sub
Best of luck,

-Shelby
Reply With Quote
  #3  
Old 27-06-2008, 17:31
anlulu
Guest
 
Posts: n/a
Default

Hello Shelby,

thank you very much for your answer and the code. That is greatly! I am very surprised, what one (you) can automate with so few text lines.
Thank you once again!!

Best greetings from Germany
Thomas
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
Convert deep powercliped RGB bitmap to CMYK Mode vindaa CorelDRAW/Corel DESIGNER VBA 1 20-05-2007 11:00
How to convert transparencies to bitmap in nested powerclip designhouse CorelDRAW/Corel DESIGNER VBA 2 29-04-2007 03:07
CD11 Convert to Bitmap -> CMYK to Gray scale problem xenio General 7 24-07-2005 21:46
how can we convert all lenses in document to cmyk bitmap? olympiatr CorelDRAW/Corel DESIGNER VBA 2 27-05-2005 04:11
How to convert my document colors to grayscale Alex FAQ 1 03-05-2005 14:55


All times are GMT -5. The time now is 09:10.


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