VncSharp

EncodedRectangleFactory.Build Method 

Creates an object type derived from EncodedRectangle, based on the value of encoding.

[Visual Basic]
Public Function Build( _
   ByVal rectangle As Rectangle, _
   ByVal encoding As Integer _
) As EncodedRectangle
[C#]
public EncodedRectangle Build(
   Rectangle rectangle,
   int encoding
);

Parameters

rectangle
A Rectangle object defining the bounds of the rectangle to be created
encoding
An Integer indicating the encoding type to be used for this rectangle. Used to determine the type of EncodedRectangle to create.

Return Value

See Also

EncodedRectangleFactory Class | VncSharp Namespace