Size

Size structure

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

public struct Size : IEquatable<Size>

Constructors

Name Description
Size(int, int) Creates a size for a rectangular redaction area.

Properties

Name Description
static Empty { get; } A zero width and height.
Height { get; } Region height in pixels.
Width { get; } Region width in pixels.

Methods

Name Description
override Equals(object) Compares this size with another object.
Equals(Size) Compares dimensions with another size.
override GetHashCode() Returns a hash code derived from width and height.
override ToString() Returns the dimensions in a readable form.

See Also