Click or drag to resize

ArgbImage Constructor (Int32, Int32, Byte, InterpolationMode)

Creates and initializes an ArgbImage.

Namespace:  Ptv.XServer.Controls.Map.Tools.Reprojection
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public ArgbImage(
	int width,
	int height,
	byte[] argbValues = null,
	InterpolationMode mode = InterpolationMode.Bicubic
)

Parameters

width
Type: SystemInt32
The width of the image.
height
Type: SystemInt32
The height of the image.
argbValues (Optional)
Type: SystemByte
The image's pixels. May be null.
mode (Optional)
Type: System.Drawing.Drawing2DInterpolationMode
Controls interpolation when reading pixels.
Remarks
If argbValues is null, image will be made up of fully transparent black pixels. If argbValues is non-null, the array length must equal width*height*4.
See Also