LoadBMP(Filename)

Loads a specified bitmap file as the new image.

To change the image dimensions, use the ImageWidth and ImageHeight properties.

Parameters

Filename. Specifies path to the image in the form of absolute server address. This parameter accepts a WideString value.

Examples
Copy
Graphic = CRM.GetBlock('graphic');
Graphic.LoadBMP("D:\\Program Files\\Sage\\CRM\\CRM\\WWWRoot\\Img\\plain.bmp");
CRM.AddContent(Graphic.Execute());
Response.Write(CRM.GetPage());

Loads a bitmap file named plain.bmp.