[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.RichTextEditor.BitmapPaint

BitmapPaint Method

BitmapPaint()

Paints a bitmap.

Declaration
public Bitmap BitmapPaint()
Public Function BitmapPaint() As Bitmap
Returns
Type Description
Bitmap

The image as a bitmap in the specified rectangle

BitmapPaint(Picture)

Paints the specified background image as a bitmap.

Declaration
public Bitmap BitmapPaint(Picture imgBackground)
Public Function BitmapPaint(imgBackground As Picture) As Bitmap
Parameters
Type Name Description
Picture imgBackground

Background image

Returns
Type Description
Bitmap

The image as a bitmap in the specified rectangle

BitmapPaint(Picture, float)

Paints the specified background image as a bitmap with the specified scaling.

Declaration
public Bitmap BitmapPaint(Picture imgBackground, float zoomFactor)
Public Function BitmapPaint(imgBackground As Picture, zoomFactor As Single) As Bitmap
Parameters
Type Name Description
Picture imgBackground

Background image

float zoomFactor

Numeric value for scaling the display of the image

Returns
Type Description
Bitmap

The image as a bitmap in the specified rectangle

BitmapPaint(Picture, Rectangle)

Paints the specified background image as a bitmap in the specified rectangle.

Declaration
public Bitmap BitmapPaint(Picture imgBackground, Rectangle r)
Public Function BitmapPaint(imgBackground As Picture, r As Rectangle) As Bitmap
Parameters
Type Name Description
Picture imgBackground

Background image

Rectangle r

Boundary rectangle

Returns
Type Description
Bitmap

The image as a bitmap in the specified rectangle

BitmapPaint(Picture, Rectangle, float)

Paints the specified background image as a bitmap in the specified rectangle with the specified scaling.

Declaration
public Bitmap BitmapPaint(Picture imgBackground, Rectangle r, float zoomFactor)
Public Function BitmapPaint(imgBackground As Picture, r As Rectangle, zoomFactor As Single) As Bitmap
Parameters
Type Name Description
Picture imgBackground

Background image

Rectangle r

Boundary rectangle

float zoomFactor

Numeric value for scaling the display of the image

Returns
Type Description
Bitmap

The image as a bitmap in the specified rectangle