示例#1
0
 /**
  * <summary>
  *   Sets up the background color used by the <c>clearConsole</c> function and by
  *   the console scrolling feature.
  * <para>
  * </para>
  * </summary>
  * <param name="bgcol">
  *   the background gray level to use when scrolling (0 = black,
  *   255 = white), or -1 for transparent
  * </param>
  * <returns>
  *   <c>0</c> if the call succeeds.
  * </returns>
  * <para>
  *   On failure, throws an exception or returns a negative error code.
  * </para>
  */
 public virtual int setConsoleBackground(int bgcol)
 {
     return(_objptr.setConsoleBackground(bgcol));
 }