Show: Delphi C++
Display Preferences

Vcl.Graphics.TBitmap Functions

From XE2 API Documentation
Jump to: navigation, search


AssignCopies a new bitmap image to the bitmap object.
Changed
DormantCreates a memory bitmap image in order to release the bitmap handle, forcing the image into DIB format to save resources.
Draw
DrawTransparent
FreeImageFrees the cached file image stored in memory by the bitmap.
GetEmpty
GetHeight
GetPalette
GetSupportsPartialTransparency
GetWidth
HandleAllocatedIndicates whether the TBitmap object has acquired a handle to the underlying GDI object.
HandleNeededCreate GDI bitmap for TBitmap if it doesn't already exist.
LoadFromClipboardFormatLoads a bitmap from the Clipboard into the bitmap object.
LoadFromResourceIDLoads a bitmap from a resource into the bitmap object.
LoadFromResourceNameLoads a bitmap resource into the bitmap object.
LoadFromStreamLoads the bitmap from a stream into the bitmap object.
MaskConverts the current bitmap image into a monochrome mask, replacing TransparentColor with white and every other color with black.
MaskHandleNeededCreate GDI bitmap for TBitmap's mask if it doesn't already exist.
PaletteNeededCreate color palette for TBitmap's mask if it doesn't already exist.
ReadData
ReleaseHandleReturns the handle to the bitmap so that the TBitmap object no longer knows about the handle.
ReleaseMaskHandleReturns the handle to the bitmap's mask so that the TBitmap object no longer knows about the mask handle.
ReleasePaletteReturns the handle to the bitmap's palette and disassociates the palette from the TBitmap object.
SaveToClipboardFormatCreates a local copy of the bitmap in Clipboard format.
SaveToStreamSaves the bitmap to a stream.
SetHeight
SetPalette
SetSizeSpecifies the size of the bitmap.
SetWidth
WriteData


Personal tools
Previous Versions
Translations