PelRect ClassCognex VisionPro 9.23

Class that represents a simple coordinate axes aligned rectangle used to represent a rectangular window region in an integer coordinate system.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision ChangedEventShareableBase
      Cognex.Vision PelRect

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.24.0.0
Syntax

public sealed class PelRect : ChangedEventShareableBase, 
	IObject

The PelRect type exposes the following members.

Constructors

  NameDescription
Public methodPelRect 

Construct a default instance of this class.

Public methodPelRect(Int32, Int32, Int32, Int32)

Construct an instance of this class with the specified parameters.

Top
Methods

  NameDescription
Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(Object).)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodResumeAndRaiseChangedEvent

Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodSuspendChangedEvent

Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two PelRect objects.
Public operatorStatic memberInequality
Compares the inequality of two PelRect objects.
Top
Fields

  NameDescription
Public fieldStatic memberSfHeight
Public fieldStatic memberSfWidth
Public fieldStatic memberSfX
Public fieldStatic memberSfY
Top
Properties

  NameDescription
Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Overrides ChangedEventShareableBase ChangedEventSuspended.)
Public propertyHandle (Overrides ChangedEventShareableBase Handle.)
Public propertyHeight
Get

Get the height of this PelRect.

Public propertyWidth
Get

Get the width of this PelRect.

Public propertyX
Get

Get the X origin.

Public propertyY
Get

Get the Y origin.

Top
Events

  NameDescription
Public eventChanged

The actual event.

(Overrides ChangedEventShareableBase Changed.)
Top
See Also