![]() |
![]() |
ShapeRange.ConvertToBitmapEx
Function ConvertToBitmapEx([Mode As cdrImageType = cdrRGBColorImage], [Dithered As Boolean = False], [Transparent As Boolean = False], [Resolution As Long = 72], [AntiAliasing As cdrAntiAliasingType = cdrNormalAntiAliasing], [UseColorProfile As Boolean = True]) As Shape
Member of ShapeRange
The ConvertToBitmapEx method converts all of the objects in a range to bitmaps.
Parameters
|
Description
|
Mode
|
Specifies the type of image, and returns cdrImageType
This parameter is optional, and its default value is cdrRGBColorImage (4).
|
Dithered
|
Specifies whether the image is dithered when exported
This parameter is optional, and its default value is False.
|
Transparent
|
Specifies the transparency of the background
This parameter is optional, and its default value is False.
|
Resolution
|
Specifies the resolution
This parameter is optional, and its default value is 72.
|
AntiAliasing
|
Specifies the type of anti-aliasing.This value returns cdrAntiAliasingType.
This parameter is optional, and its default value is cdrNormalAntiAliasing (1).
|
UseColorProfile
|
Uses the color profile if set to True (-1)
This parameter is optional, and its default value is True.
|
The following code example converts the selected shape or shapes to a grayscale bitmap with a transparent background:
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.