Click or drag to resize

IDirectScanlineAccessIsContiguous Property

Indicates whether or not the PixelMemory is contiguous in memory.

Namespace:  Atalasoft.Imaging.Memory
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
bool IsContiguous { get; }

Property Value

Type: Boolean
True is the PixelMemory is contiguous, false otherwise.
Remarks
If a PixelMemory object implements IDirectScanlineAccess and IsContiguous is true, then it is safe to assume that any part of an image can be addressed by using a pointer to the 0th scanline and the images RowStride to calculate the address.
See Also