Font ClassCognex VisionPro 9.22

Class that defines a particular configuration for text, such as format, size and style.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision Font

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

public sealed class Font : ShareableBase, IObject

The Font type exposes the following members.

Constructors

  NameDescription
Public methodFont

Initializes a new Font that uses the specified existing font family, size and font style.

Top
Methods

  NameDescription
Public methodEquals
Compares the equality of this object with another.
(Overrides ShareableBase Equals(Object).)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ShareableBase 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 methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two Font objects.
Public operatorStatic memberInequality
Compares the inequality of two Font objects.
Top
Properties

  NameDescription
Public propertyBold

Gets a value that indicates whether this Font is bold.

Public propertyFontStyle

Gets the font style information for this Font.

Public propertyHandle (Overrides ShareableBase Handle.)
Public propertyItalic

Gets a value that indicates whether this Font has the italic style applied.

Public propertyName

Gets the face name of this Font.

Public propertySizeInPoints

Gets the size, in points, of this Font.

Public propertyStrikeout

Gets a value that indicates whether this Font specifies a horizontal line through the Font.

Public propertyUnderline

Gets a value that indicates whether this Font is underlined.

Top
See Also