IBitmap class

IBitmap class

Represents a bitmap image.

The IBitmap type exposes the following members:

Properties

PropertyDescription
widthGets the width of the bitmap image.
heightGets the height of the bitmap image.
horizontal_resolutionGets the horizontal resolution of the bitmap image.
vertical_resolutionGets the vertical resolution of the bitmap image.
color_spaceGets the color space IBitmap.color_space of the bitmap image.
color_tableGets the color table of the bitmap image.
formatGets the format of the bitmap image WebImageFormat.

Methods

MethodDescription
saveSaves the bitmap image to the specified stream with the specified image format and quality.
set_transparentSets the specified color as transparent in the bitmap image.
apply_opacityApplies the specified opacity to the bitmap image.
draw_bitmapDraws the specified source rectangle of the given bitmap onto the specified destination rectangle of the current bitmap.
fill_rectangleFills the specified rectangle with the specified brush.
rotate_flipRotates and flips the bitmap image according to the specified rotation and flip type.
get_pixels_mapRetrieves the pixel map representation of the bitmap image, optionally converting to monochrome and allowing transparency color conversion.

See Also