PixelRegion.ForEachRow Method (PixelRegion, PixelRegion.ProcessRowWithSourceAction)

Runs the specified action on each row within the Bounds. This method also tracks a source PixelRegion having margins that will be read from.

Namespace: Lumia.Imaging.Custom
Assembly: Lumia.Imaging.Managed (in Lumia.Imaging.Managed.dll) Version: 0.0.0.0

Syntax

public void ForEachRow(
    PixelRegion sourcePixelRegion,
    PixelRegion..::..ProcessRowWithSourceAction rowAction
)
'Declaration
Public Sub ForEachRow ( 
    sourcePixelRegion As PixelRegion,
    rowAction As PixelRegion..::..ProcessRowWithSourceAction
)
public:
void ForEachRow(
    PixelRegion^ sourcePixelRegion, 
    PixelRegion..::..ProcessRowWithSourceAction^ rowAction
)
function ForEachRow(sourcePixelRegion, rowAction);

Parameters

Remarks

Using this method saves the user of having to think of the Pitch to find the index of each row of pixels. However, it may result in lower performance than manually looping over the pixels.

Version Information

Lumia Imaging SDK

Supported in: 2.0

See Also

PixelRegion Class

PixelRegion.PixelRegion Members

ForEachRow Overload

Lumia.Imaging.Custom Namespace