×

Bitmap Constructor (Size, ColorMode, UInt32[], IBuffer[])

Creates a bitmap referencing the data in the provided IBuffers. Suitable for planar and semi-planar color modes.

Namespace: Nokia.Graphics.ImagingAssembly: Nokia.Graphics.Imaging (in Nokia.Graphics.Imaging.dll) Version: 255.255.255.255

Syntax

C#
public Bitmap(
	Size size,
	ColorMode colorMode,
	uint[] scanlineByteSizes,
	IBuffer[] colorPlanes
)
Visual Basic
Public Sub New ( 
	size As Size,
	colorMode As ColorMode,
	scanlineByteSizes As UInteger(),
	colorPlanes As IBuffer()
)
Visual C++
public:
Bitmap(
	[InAttribute] Size size, 
	[InAttribute] ColorMode colorMode, 
	[InAttribute] array<unsigned int>^ scanlineByteSizes, 
	[InAttribute] array<IBuffer^>^ colorPlanes
)
Parameters
size
Type: Windows.Foundation..::..SizeThe size in pixels of the bitmap to be created.
colorMode
Type: Nokia.Graphics.Imaging..::..ColorModeThe color mode of the bitmap to be created.
scanlineByteSizes
Type: array<System..::..UInt32>[]()[][]The size in bytes of the scanline of each of the color planes of the bitmap to be created.
colorPlanes
Type: array<Windows.Storage.Streams..::..IBuffer>[]()[][]The color planes that the bitmap will reference, provided in IBuffers.

Last updated 19 June 2014

Back to top

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×