Click or drag to resize
BitmapTableAddBitmap Method
Adds a new bitmap with specified name to the bitmap table.

Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
Syntax
public int AddBitmap(
	string bitmapFilename,
	bool replaceExisting
)

Parameters

bitmapFilename
Type: SystemString
If NULL or empty, then a unique name of the form "Bitmap 01" will be automatically created.
replaceExisting
Type: SystemBoolean
If true and the there is alread a bitmap using the specified name, then that bitmap is replaced. If false and there is already a bitmap using the specified name, then -1 is returned.

Return Value

Type: Int32
index of new bitmap in table on success. -1 on error.
See Also