SetIDGraphic method

Assigns a new identifying graphic (logo) to a Community or Room.

Syntax


C++
HRESULT SetIDGraphic(
   BSTR Path)
Scripting languages
Object.SetIDGraphic
   Path as String

Parameters


Path

The full path of the file to use as the logo graphic.

Return value


C++

The return code.

Scripting languages

None.

Remarks


A logo graphic appears in the upper right-hand corner of an eRoom. You can assign graphics to Communities and/or Rooms. Graphics assigned to Communities appear in all Rooms which do not specify their own graphic (i.e. Room graphics override Community graphics). If no graphic is assigned to a Community or Room, the default eRoom graphic is displayed.

The logo graphic must be a GIF or JPEG image. The image should be 144 pixels wide and 72 pixels high so that eRoom does not have to resize the image every time it is displayed. Assigning a differently-sized image will succeed, but will result in poor performance as it will need to be resized on every page display.

To reset an eRoom or Community's logo graphic to the default eRoom graphic, specify NULL (C++), Nothing (scripting languages), or an empty string for the Path parameter.

Home

Applies to
IERUCommunitySettings

IERURoom


See also

Creating eRooms