Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
WhiteboardSurface Class
WhiteboardSurface Methods
AddCircle Method
AddShape Method
AddText Method
ClearContent Method
DeleteShape Method
FinishShape Method
GetShapes Method
GetSurfaceId Method
SetAsActive Method
UpdateShape Method

# WhiteboardSurface AddShape Method

Add shape (polygon) to whiteboard.

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
Copy

    public AbstractShape AddShape(
    	Point[] Points,
    	bool IsFilled,
    	bool isFinished,
    	Color color,
    	uint Width,
    	WhiteboardSurfaceWhiteboardSurfaceCompletionHandler completionHandler
    )

#### Parameters

Points
  Type:
  System.Windows
  Point
  Array of point objects which represents whole shape.
IsFilled
  Type: System
  Boolean
  Is this shape filled by Color.
isFinished
  Type: System
  Boolean
  Is this shape already drawn (ex. line can be continuously drawn).
color
  Type: System.Windows.Media
  Color
  Color to fill the shape.
Width
  Type: System
  UInt32
  Width of shape.
completionHandler
  Type: Avaya.ClientServices
  WhiteboardSurface
  WhiteboardSurfaceCompletionHandler
  Completion handler instance that receives the result of the operation. If not provided, failure feedback cannot be provided.

#### Return Value

Type: AbstractShape
Shape object which will be drawn on the whiteboard surface.
See Also

#### Reference

WhiteboardSurface Class
Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.