Note
See the Examples section of the GetReadWriteBitmapData method for examples.
PColor64 GetPColor64(
int x,
int y
)Function GetPColor64 (
x As Integer,
y As Integer
) As PColor64PColor64 GetPColor64(
int x,
int y
)abstract GetPColor64 :
x : int *
y : int -> PColor64 The returned value is a premultiplied color with 16 bits per channel in the sRGB color space, regardless of the underlying PixelFormat.
Line by line processing is also possible by obtaining the first row by the FirstRow property, getting the pixels by the IReadableBitmapDataRowMovable members and then moving to the next line by the MoveNextRow method.
To access the actual PixelFormat-dependent raw value you can use the ReadRaw method.
| ObjectDisposedException | This IReadableBitmapData has already been disposed. |
| ArgumentOutOfRangeException | x is less than zero or is greater than or equal to Width.
-or- y is less than zero or is greater than or equal to Height. |