Skip to content

ScrBitmap.GetPixel Method

Definition

Gets a pixel's ink-selection bit using top-left-origin screen coordinates.

public bool GetPixel(int x, int y);

View source

Parameters

Name Type Description
x Int32 The pixel column, zero to 255.
y Int32 The pixel row, zero to 191.

Returns

Boolean

True for ink, false for paper.