View Single Post
  #2  
Old 14-05-2003, 09:06
bbolte
Guest
 
Posts: n/a
Default

from the help files:


Code:
Shape.ConvertToBitmap

Function ConvertToBitmap(ByVal BitDepth AS Long, ByVal Grayscale AS Boolean, ByVal Dithered AS Boolean, ByVal TransparentBG AS Boolean, ByVal Resolution AS Long, ByVal AntiAliasing AS cdrAntiAliasingType, ByVal UseColorProfile AS Boolean) AS Shape
Shape

Description
The ConvertToBitmap method converts a shape object from a vector image to a bitmap image in CorelDRAW. A shape is an object that can be displayed as several variations of a rectangle or a circle.
A bitmap is an image composed of grids of pixels or dots. Scanners and paint applications such as Corel PHOTO-PAINT generate bitmap images. CorelDRAW creates images using vector objects.
Bitmaps have a fixed resolution so a bitmap looks best when you display or print it at its original size. Enlarging the bitmap appears to enlarge each pixel because extra pixels are added, making the graphic look jagged and distorted. Reducing the size of the bitmap eliminates pixels and shrinks the bitmap.



Parameters	Description

BitDepth	Lets you specify bit depth. This value is optional and the default value is 24.
Grayscale	Set to TRUE (-1) converts to grayscale. This value is optional and the default value is False.
Dithered	Set to TRUE (-1) enables dithering. This value is optional and the default value is True.
TransparentBG	Set to TRUE (-1) enables transparent background. This value is optional and the default value is True.
Resolution	Lets you specify the resolution. This value is optional and the default value is 72.

AntiAliasing	Lets you specify the anti aliasing type.This value is optional and returns cdrAntiAliasingType. The default value is cdrNormalAntiAliasing.
UseColorProfile	Set to TRUE (-1) use the color profile. This value is optional and the default value is True.
Reply With Quote