| Name |
Description |
| Bitmap Bitmap |
Processed image in form of bitmap. |
| void Dispose() |
Method release all alocated system resources. It has to be called after finishing works. |
| void Create(int width, int height) |
Creates an image of the given width and height. |
| void CreateFromFile(string fileName) |
Creates an image by reading from a file. |
| void CreateFromImage(System.Drawing.Image image) |
Creates an image from another image. |
| void CreateFromBytes(byte[] bytes) |
Creates an image from a byte field. |
| void SaveAsBmp(string fileName) |
Saves image as a bitmap. |
| void SaveAsGif(string fileName) |
Saves image as gif. |
| void SaveAsIcon(string fileName) |
Saves image as an icon. |
| void SaveAsJpeg(string fileName) |
Saves image as jpeg. |
| void SaveAsPng(string fileName) |
Saves image as png. |
| byte[] SaveAsBmp() |
Saves image as bmp to a byte field. |
| byte[] SaveAsGif() |
Saves image as gif to a byte field. |
| byte[] SaveAsIcon() |
Saves image as an icon to a byte field. |
| byte[] SaveAsJpeg() |
Saves image as jpeg to a byte field. |
| byte[] SaveAsPng() |
Saves image as png to a byte field. |
| void ResizeToMax(int maxWidth, int maxHeight) |
Method changes image size in order max width and height is not exceeded. The image keeps the height and width ratio in this change. |
| void Resize(int width, int height) |
Method changes size of the image. |
| int Width |
Width of the image. |
| int Height |
Height of the image. |
| void MakeTransparent(Color color) |
Method creates a transparent color from the given colour. |
| Font CreateFont(string familyName, int size, bool isBold, bool isItalic, bool isUnderline, bool isStrikeout) |
Function returns a font. |
| Pen CreatePen(Color color) |
Function returns a pen for drawing lines. |
| Brush CreateSolidBrush(Color color) |
Function returns a brush for filling in spaces. |
| void SetPixel(int x, int y, Color color) |
Method sets colour to the given pixel. |
| void Clear(Color color) |
Method deletes colour from the image. |
| void DrawText(string text, Font font) |
Methoda draws a text. |
| void DrawText(string text, Font font, int maxWidth) |
Method draws a text of a maximum width. Text, that cannot match to width is drawn to a next line. |
| void DrawArc(Pen pen, int x, int y, int width, int height, int startAngle, int sweepAngle) |
Method draws an arc. |
| void DrawEllipse(Pen pen, int x, int y, int width, int height) |
Method draws an ellipse. |
| void DrawImage(System.Drawing.Image image, int x, int y) |
Method draws an image. |
| void DrawImage(System.Drawing.Image image, int x, int y, int width, int height) |
Method draws an image. |
| void DrawLine(Pen pen, int x1, int y1, int x2, int y2) |
Method draws a line. |
| void DrawPie(Pen pen, int x, int y, int width, int height, int startAngle, int sweepAngle) |
Method draws a circular slice. |
| void DrawRectangle(Pen pen, int x, int y, int width, int height) |
Method draws a rectangle. |
| void FillEllipse(Brush brush, int x, int y, int width, int height) |
Method draws a filled ellipse. |
| void FillPie(Brush brush, int x, int y, int width, int height, int startAngle, int sweepAngle) |
Method draws a filled circular slice. |
| void FillRectangle(Brush brush, int x, int y, int width, int height) |
Method draws a filled rectangle. |