VncPixelFormat Constructor (Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Boolean, Boolean)RemoteViewing
Initializes a new instance of the VncPixelFormat class.

Namespace: RemoteViewing.Vnc
Assembly: RemoteViewing (in RemoteViewing.dll) Version: 0.9.1.0 (0.9.1.0)
Syntax

public VncPixelFormat(
	int bitsPerPixel,
	int bitDepth,
	int redBits,
	int redShift,
	int greenBits,
	int greenShift,
	int blueBits,
	int blueShift,
	bool isLittleEndian = true,
	bool isPalettized = false
)

Parameters

bitsPerPixel
Type: OnlineSystem Int32
The number of bits used to store a pixel. Currently, this must be 8, 16, or 32.
bitDepth
Type: OnlineSystem Int32
The bit depth of the pixel. Currently, this must be 24.
redBits
Type: OnlineSystem Int32
The number of bits used to represent red.
redShift
Type: OnlineSystem Int32
The number of bits left the red value is shifted.
greenBits
Type: OnlineSystem Int32
The number of bits used to represent green.
greenShift
Type: OnlineSystem Int32
The number of bits left the green value is shifted.
blueBits
Type: OnlineSystem Int32
The number of bits used to represent blue.
blueShift
Type: OnlineSystem Int32
The number of bits left the blue value is shifted.
isLittleEndian (Optional)
Type: OnlineSystem Boolean
true if the pixel is little-endian, or false if it is big-endian.
isPalettized (Optional)
Type: OnlineSystem Boolean
true if the framebuffer stores palette indices, or false if it stores colors.
See Also