PixelFormat
Represents a pixel-format identifier used by Spreadsheet bitmap compatibility APIs.
Definition
Namespace:Telerik.WinControls.Spreadsheet.UI
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class PixelFormat
Inheritance: objectPixelFormat
Methods
Compares this format with another object by its internal format identifier.
public override bool Equals(object obj)
The object to compare.
Returns:false for null; otherwise, whether the object's format identifier matches this instance.
Exceptions: NullReferenceExceptionThe object is non-null but is not a PixelFormat.
Overrides:
Returns the object-identity hash code of this format instance.
public override int GetHashCode()
Overrides:
This hash code is not derived from the internal format identifier, so distinct instances that compare equal can have different hash codes.
Operators
Compares two PixelFormat instances for inequality.
public static bool operator !=(PixelFormat left, PixelFormat right)
The first PixelFormat to compare.
rightPixelFormatThe second PixelFormat to compare.
Returns:true if the PixelFormat objects are not equal; otherwise, false.
Compares the internal format identifiers of two pixel formats.
public static bool operator ==(PixelFormat left, PixelFormat right)
The left format.
rightPixelFormatThe right format.
Returns:true when the internal format identifiers match.
Exceptions: NullReferenceExceptionEither operand is null.