Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPBitmap > Methods
TRSGPBitmap.SaveToIcon(TIcon) Method
Save the bitmap to an icon.
If Icon parameter is nil, then TIcon will be created and needs to be freed by the calling routine.
Namespace: RSGdiPlusGraphics
Delphi
public function SaveToIcon( var Icon: TIcon ): TIcon; overload;
Parameters
Icon
Type: TIcon
•RSGdiPlusGraphics.TRSGPBitmap.SaveToBitmap(TRSGPColor,TBitmap)
•RSGdiPlusGraphics.TRSGPBitmap.LoadFromBitmap(HBITMAP,HPALETTE)
•RSGdiPlusGraphics.TRSGPBitmap.LoadFromIcon(HICON)
•RSGdiPlusGraphics.TRSGPBitmap.LoadFromResourceName(THandle,String)
•RSGdiPlusGraphics.TRSGPBitmap.LoadFromDirectDrawSurface(IDirectDrawSurface7)
•TRSGPBitmap
•RSGdiPlusGraphics