GevServerCreateWithConstSize Method (Size2D, ColorModel, DataType, DriverType)

CVB.Net Documentation
Creates a new GevServer object with a constant width and height.

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

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

Parameters

size
Type: Stemmer.CvbSize2D
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