WallpaperGrayScale

Returns or sets the grayscale display option of the wallpaper bitmap of the specified view.

Syntax

Rhino.WallpaperGrayScale ([strView [, blnGrayScale]])

Parameters

strView

Optional.  String.  The title or identifier of the view.  If omitted, the current active view is used.

blnGrayScale

Optional.  Boolean.  Display the wallpaper bitmap in grayscale (True) or color (False).

Returns

Boolean

If blnGrayScale is not specified,  then the current grayscale display option if successful.

Boolean

If blnGrayScale is specified,  then the previous grayscale display option if successful.

Null

If not successful, or on error.

Example

Dim strView

strView = Rhino.CurrentView

If Rhino.WallpaperGrayScale(strView) = False Then

Rhino.WallpaperGrayScale strView, True

End If

Also See

Wallpaper

WallpaperHidden