API.Image (Object, Int32, Int32, Int32, Nullable<Color>) Method

Creates an Image from an entity
public static Image Image( 
   object entity
   int width
   int height
   int border = 3, 
   Nullable<Color> backcolor = null 
)

Parameters

entity
object

width
int

Image width

height
int

Image height

border
int

Border pixels

backcolor
Nullable<Color>

Image background color, if null=transparent

Return Value

Image

An Image

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition