Exemplo n.º 1
0
 /**
  * <summary>
  *   Sets up display margins for the <c>consoleOut</c> function.
  * <para>
  * </para>
  * </summary>
  * <param name="x1">
  *   the distance from left of layer to the left margin, in pixels
  * </param>
  * <param name="y1">
  *   the distance from top of layer to the top margin, in pixels
  * </param>
  * <param name="x2">
  *   the distance from left of layer to the right margin, in pixels
  * </param>
  * <param name="y2">
  *   the distance from top of layer to the bottom margin, in pixels
  * </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 setConsoleMargins(int x1, int y1, int x2, int y2)
 {
     return(_objptr.setConsoleMargins(x1, y1, x2, y2));
 }