You are here: Start » AVL.NET » Function Reference » Image » Image Basics » AVL.SetImagePixels

AVL.SetImagePixels

Sets multiple pixels of an image to the selected value (all the pixels get the same value).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SetImagePixels
(
	AvlNet.Image ioImage,
	IList<AvlNet.Location> inLocations,
	AvlNet.Pixel inPixel
)

Parameters

Name Type Range Default Description
ioImageAvlNet.Image
inLocationsSystem.Collections.Generic.IList<AvlNet.Location>Locations of the pixels to be set.
inPixelAvlNet.PixelNew pixel value.

Errors

List of possible exceptions:

Error type Description
DomainError Input location exceeds dimensions of an input image in SetImagePixels.

See also