Size class

Size class

Defines the width and height of a redaction region in pixels.

The Size type exposes the following members:

Constructors

Constructor Description
init Initializes a size for a rectangular redaction area.

Methods

Method Description
equals Compares dimensions with another size.
equals Compares this size with another object.
get_hash_code Returns a hash code derived from width and height.
to_string Returns the dimensions in a readable form.

Properties

Property Description
height The region height in pixels.
width The region width in pixels.

Fields

Field Description
EMPTY A zero width and height.

Guides

Task guides that use Size:

See Also