[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.IImage.ToGcBitmap

ToGcBitmap Method

ToGcBitmap(out bool)

Retrieves the underlying GcBitmap object, or creates a new GcBitmap that contains the image data.

Note that you should dispose the returned GcBitmap if disposeAfterUse is true.

Declaration
GcBitmap ToGcBitmap(out bool disposeAfterUse)
Function ToGcBitmap(ByRef disposeAfterUse As Boolean) As GcBitmap
Parameters
Type Name Description
bool disposeAfterUse

OUT: Indicates whether the returned GcBitmap should be disposed by the user.

Returns
Type Description
GcBitmap

A GcBitmap object containing the image.

ToGcBitmap(bool, out bool)

Retrieves the underlying GcBitmap object, or creates a new GcBitmap that contains the image data.

Note that you should dispose the returned GcBitmap if disposeAfterUse is true.

Declaration
GcBitmap ToGcBitmap(bool applyExifOrientation, out bool disposeAfterUse)
Function ToGcBitmap(applyExifOrientation As Boolean, ByRef disposeAfterUse As Boolean) As GcBitmap
Parameters
Type Name Description
bool applyExifOrientation

Indicates whether the flip and rotate transformations should be applied to the returned GcBitmap if that is required by the Orientation property in the EXIF profile.

bool disposeAfterUse

OUT: Indicates whether the returned GcBitmap should be disposed by the user.

Returns
Type Description
GcBitmap

A GcBitmap object containing the image.

ToGcBitmap(GcBitmap)

Loads the image into an existing instance of GcBitmap.

Declaration
void ToGcBitmap(GcBitmap bmp)
Sub ToGcBitmap(bmp As GcBitmap)
Parameters
Type Name Description
GcBitmap bmp

The destination GcBitmap object.