Method WriteImage
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.
public virtual bool WriteImage(Image? bitmap, BitmapType bitmapType = BitmapType.Png, ITextBoxRichAttr? textAttr = null)
Parameters
bitmap
ImagebitmapType
BitmapTypetextAttr
ITextBoxRichAttr
Returns
WriteImage(string, BitmapType, ITextBoxRichAttr?)
Loads an image from a file and writes it at the current insertion point.
public virtual bool WriteImage(string filename, BitmapType bitmapType = BitmapType.Png, ITextBoxRichAttr? textAttr = null)
Parameters
filename
stringbitmapType
BitmapTypetextAttr
ITextBoxRichAttr