Click or drag to resize

DesignerFont Class

This type is used to enable selection of FP Fonts in design-time.
Inheritance Hierarchy
SystemObject
  ABB.Robotics.Tps.Windows.FormsDesignerFont

Namespace:  ABB.Robotics.Tps.Windows.Forms
Assembly:  ABB.Robotics.Tps.Windows.Forms (in ABB.Robotics.Tps.Windows.Forms.dll) Version: 6.5.129.0
Syntax
C#
public class DesignerFont

The DesignerFont type exposes the following members.

Constructors
  NameDescription
Public methodDesignerFont
Constructor for the DesignerFont.
Top
Properties
  NameDescription
Public propertyBold
Returns if the style of the font is bold or not.
Public propertyFont
The System.Drawing.Font associated with this DesignerFont. Retrieves a static Font from the TpsFont-class using the selected font name.
Public propertyFontName
The name of the font. The name should match one of the publicly available static Fonts in TpsFont. This property is used by the ABB.Robotics.Tps.ABBControlDesigner.FontConverter in order to generate code for the DesignerFont-object in in design-time.
Public propertySize
Returns the size of the font.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetFontNames
This method is called by the TpsFontEditorForm to show a list of all available FP compatible fonts.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the name of the currently selected font, which is shown in the property grid in the designer.
(Overrides ObjectToString.)
Top
See Also