[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.Offsets

Struct Offsets

Namespace
GrapeCity.Documents.Common
Assembly
GcDocs.Imaging.dll

A structure representing four values corresponding to the four sides of a rectangular area.

public struct Offsets : IEquatable<Offsets>
Implements
System.IEquatable<T><Offsets>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()

Constructors

Offsets(float, float, float, float)

Initializes a new instance of the Offsets structure.

public Offsets(float left, float top, float right, float bottom)

Parameters

left float

The Left value.

top float

The Top value.

right float

The Right value.

bottom float

The Bottom value.

Fields

Bottom

Gets or sets the bottom offset value.

public float Bottom

Field Value

float

Left

Gets or sets the left offset value.

public float Left

Field Value

float

Right

Gets or sets the right offset value.

public float Right

Field Value

float

Top

Gets or sets the top offset value.

public float Top

Field Value

float

Methods

Equals(Offsets)

public bool Equals(Offsets other)

Parameters

other Offsets

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(Offsets, Offsets)

Tests whether two specified Offsets objects are equivalent.

public static bool operator ==(Offsets v1, Offsets v2)

Parameters

v1 Offsets
v2 Offsets

Returns

bool

operator !=(Offsets, Offsets)

Tests whether two specified Offsets objects are NOT equivalent.

public static bool operator !=(Offsets v1, Offsets v2)

Parameters

v1 Offsets
v2 Offsets

Returns

bool