CogOCVMaxPattern MethodsCognex VisionPro 9.5

The CogOCVMaxPattern type exposes the following members.

Methods

  NameDescription
Public methodAddText( Int32 )
Creates a new paragraph and appends it to the end of the current arrangement.
Public methodAddText(String)
Creates a new paragraph and appends it to the end of the current arrangement.
Public methodAddText( String )
Creates a new paragraph and appends it to the end of the current arrangement.
Public methodAddText( Int32 , CogOCVMaxCharacterIterator)
Inserts one or more characters at the character position specified by the supplied character iterator.
Public methodAddText( Int32 , CogOCVMaxLineIterator)
Creates a new line and inserts it at the line position specified by the line iterator.
Public methodAddText( Int32 , CogOCVMaxParagraphIterator)
Creates a new paragraph and inserts it in the arrangement at the position specified by the paragraph iterator.
Public methodAddText(String, CogOCVMaxCharacterIterator)
Inserts one or more characters at the character position specified by the character iterator.
Public methodAddText(String, CogOCVMaxLineIterator)
Creates a new line and inserts it at the line position specified by the line iterator.
Public methodAddText(String, CogOCVMaxParagraphIterator)
Creates a new paragraph and inserts it in the arrangement at the position specified by the paragraph iterator.
Public methodAddText( String , CogOCVMaxLineIterator)
Creates one or more new lines and inserts them at the line position specified by the line iterator.
Public methodAddText( String , CogOCVMaxParagraphIterator)
Creates a new paragraph and inserts it in the arrangement at the position specified by the paragraph iterator.
Public methodCreateCharacterIterator(Int32, Int32)
Creates a character iterator that corresponds to the initial character position in the specified line in the specified paragraph.
Public methodCreateCharacterIterator(Int32, Int32, Int32)
Creates a character iterator corresponding to the specified character in the specified line in the specified paragraph of the arrangement.
Public methodCreateLineIterator(Int32)
Creates a line iterator that corresponds to the initial line position in the specified paragraph of the arrangement.
Public methodCreateLineIterator(Int32, Int32)
Creates a line iterator that corresponds to the specified line in the specified paragraph of the arrangement.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodCreateParagraphIterator 
Create a paragraph iterator corresponding to the initial paragraph in the arrangement.
Public methodCreateParagraphIterator(Int32)
Creates a paragraph iterator that corresponds to the specified paragraph of the arrangement.
Public methodDispose 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
Performs an inspection upon the specified image with the specified run parameters.
Protected methodFinalize (Overrides Object Finalize .)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetCharacterCount
Gets the number of characters in a line.
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetCustomization
Gets the customization string of the specified type.
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetDOFRotation
Get a particular attribute (LowerLimit, Nominal, or UpperLimit) of the Rotation degree of freedom (DOF). Use the selector argument to specify which attribute. The units of all Rotation attributes are radians.
Public methodGetDOFScale
Get a particular attribute (LowerLimit, Nominal, or UpperLimit) of the (uniform) Scale degree of freedom (DOF). Use the selector argument to specify which attribute.
Public methodGetDOFScaleX
Get a particular attribute (LowerLimit, Nominal, or UpperLimit) of the ScaleX degree of freedom (DOF). Use the selector argument to specify which attribute.
Public methodGetDOFScaleY
Get a particular attribute (LowerLimit, Nominal, or UpperLimit) of the ScaleY degree of freedom (DOF). Use the selector argument to specify which attribute.
Public methodGetDOFShear
Get a particular attribute (LowerLimit, Nominal, or UpperLimit) of the Shear degree of freedom (DOF). Use the selector argument to specify which attribute. The units of all Shear attributes are radians.
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetLineCount
Gets the number of lines in a paragraph.
Protected methodGetObjectData (Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetParagraphCount
Gets the number of paragraphs in the arrangement.
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetTunedRunParams
Gets the tuned run parameters.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnChanged(Int64)
This method should be called internally whenever the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Protected methodOnChanged(CogChangedEventArgs)
This method may be called internally whenever a derived object's state may have changed and the derived object expresses this change via a derived CogChangedEventArgs class.
(Inherited from CogSerializableChangedEventBase.)
Protected methodOnCharacterAdded
Protected methodOnCharacterChanged
Protected methodOnCharacterRemoved
Public methodOnDeserialization
Protected methodOnLineAdded
Protected methodOnLineChanged
Protected methodOnLineRemoved
Protected methodOnParagraphAdded
Protected methodOnParagraphChanged
Protected methodOnParagraphRemoved
Protected methodOnTrainProgress
Protected methodOnTuneProgress
Public methodRemoveCharacter
Removes the character specified by the supplied character iterator from the arrangement.
Public methodRemoveLine
Removes the line specified by the supplied line iterator from the arrangement.
Public methodRemoveParagraph
Removes the paragraph specified by the paragraph iterator from the arrangement.
Public methodRenderImage
Creates an image that contains a graphical rendering of the entire arrangement.
Public methodResumeAndRaiseChangedEvent
Re-enables raising of the Changed event after SuspendChangedEvent has been called, and raises the Changed event 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.
(Inherited from CogSerializableChangedEventBase.)
Public methodSetCustomization
Sets the customization string for the specified customization type.
Public methodSetCustomizationFromFile
Sets the customization string for the specified customization type from the specified file.
Public methodSetDOFRotation
Set a particular attribute (LowerLimit, Nominal, or UpperLimit) of the Rotation degree of freedom (DOF). Use the selector argument to specify which attribute. The units of all Rotation attributes are radians.
Public methodSetDOFScale
Set a particular attribute (LowerLimit, Nominal, or UpperLimit) of the (uniform) Scale degree of freedom (DOF). Use the selector argument to specify which attribute.
Public methodSetDOFScaleX
Set a particular attribute (LowerLimit, Nominal, or UpperLimit) of the ScaleX degree of freedom (DOF). Use the selector argument to specify which attribute.
Public methodSetDOFScaleY
Set a particular attribute (LowerLimit, Nominal, or UpperLimit) of the ScaleY degree of freedom (DOF). Use the selector argument to specify which attribute.
Public methodSetDOFShear
Set a particular attribute (LowerLimit, Nominal, or UpperLimit) of the Shear degree of freedom (DOF). Use the selector argument to specify which attribute. The units of all Shear attributes are radians.
Public methodSuspendChangedEvent
Temporarily suspends the raising of the Changed event. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.
(Inherited from CogSerializableChangedEventBase.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTrain
Trains the current arrangement.
Public methodTrainProgressReport
Public methodTune 
Tunes the entire arrangement.
Public methodTune(ArrayList)
Tunes only the paragraphs specified by the supplied array list of zero based paragraph indices.
Public methodTune(Int32)
Tune only the paragraph specified by the supplied zero based paragraph index.
Public methodTune( Int32 )
Tunes just the paragraphs specified by the supplied array of zero based paragraph indices.
Public methodTune(CogOCVMaxParagraphIterator)
Tunes only the paragraph specified by the paragraph iterator.
Public methodTuneProgressReport
Public methodUntrain
Discards any trained data.
Top
See Also