LomoEffect.SetSource Method

Set a source by index.

Namespace: Lumia.Imaging.Artistic
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

function SetSource(sourceIndex, source);

Parameters

sourceIndex
Type: System.UInt32
The source index. Must be in the range [0, SourceCount-1].
source
Type: Lumia.Imaging.IImageProvider2
An IImageProvider2 to be connected as a source. A class that implements this interface may have restrictions on which sources can be set to null. The documentation for the class should be consulted, to avoid exceptions.

Implements

IImageConsumer2.SetSource(UInt32, IImageProvider2)

Lumia Imaging SDK

Supported in: 3.0
Show: