Table of Contents

Method WriteImage

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

WriteImage(Image?, BitmapType, ITextBoxRichAttr?)

Writes a bitmap at the current insertion point. Supply an optional type to use for internal and file storage of the raw data.

bool WriteImage(Image? bitmap, BitmapType bitmapType = BitmapType.Png, ITextBoxRichAttr? textAttr = null)

Parameters

bitmap Image
bitmapType BitmapType
textAttr ITextBoxRichAttr

Returns

bool

WriteImage(string, BitmapType, ITextBoxRichAttr?)

Loads an image from a file and writes it at the current insertion point.

bool WriteImage(string filename, BitmapType bitmapType = BitmapType.Png, ITextBoxRichAttr? textAttr = null)

Parameters

filename string
bitmapType BitmapType
textAttr ITextBoxRichAttr

Returns

bool