Previous Document Next Document

Object Model Reference : Classes : S : Shape : Methods : Shape.ConvertToBitmap


Shape.ConvertToBitmap

Function ConvertToBitmap([BitDepth As Long = 24], [Grayscale As Boolean = False], [Dithered As Boolean = True], [TransparentBG As Boolean = True], [Resolution As Long = 72], [AntiAliasing As cdrAntiAliasingType = cdrNormalAntiAliasing], [UseColorProfile As Boolean = True]) As Shape

Description

Member of Shape

The ConvertToBitmap method converts a shape to a bitmap.

 
This method is obsolete and provided for backward compatibility only. It is recommended that you use the ConvertToBitmapEx method instead.

Parameter
Description
BitDepth
Specifies bit depth. This parameter is optional, and its default value is 24.
Grayscale
Converts to grayscale if set to True (-1). This parameter is optional, and its default value is False.
Dithered
Enables dithering if set to True (-1). This parameter is optional, and its default value is True.
TransparentBG
Enables a transparent background if set to True (-1). This parameter is optional, and its default value is True.
Resolution
Specifies the resolution. This parameter is optional, and its default value is 72.
AntiAliasing
Specifies the anti-aliasing type, and returns cdrAntiAliasingType. This parameter is optional, and its default value is cdrNormalAntiAliasing (1).
UseColorProfile
Uses a color profile if set to True (-1).
This parameter is optional, and its default value is True.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.