GevServerCreateWithVariableSize Method (Size2D, ColorModel, DataType, DriverType)

CVB.Net Documentation
Creates a new GevServer object with a client configurable width, height and offsets.

Namespace:  Stemmer.Cvb.GevServer
Assembly:  Stemmer.Cvb.GevServer (in Stemmer.Cvb.GevServer.dll) Version: 14.0.0.0
Syntax

public static GevServer CreateWithVariableSize(
	Size2D maxSize,
	ColorModel colorModel,
	DataType dataType,
	DriverType driverType = DriverType.Auto
)

Parameters

maxSize
Type: Stemmer.CvbSize2D
Maximal width and height in pixels.
colorModel
Type: Stemmer.CvbColorModel
Color model of the image to send.
dataType
Type: Stemmer.CvbDataType
CVB data type of the image to send.
driverType (Optional)
Type: Stemmer.Cvb.GevServerDriverType
The DriverType to use.

Return Value

Type: GevServer
Newly created server object in Configuration state.
Remarks

Tries to map the given colorModel and dataType to a PfncFormat.

If you wish to change the payload size (e.g. because you want to send chunk data), you can set it on the "PayloadSizeValue" node in ConfigurationState.

See Also

Reference