TextOverlay Class

CVB.Net Documentation
A label with selectable font properties (note: not all available font attributes are supported...).
Inheritance Hierarchy

SystemObject
  Stemmer.Cvb.Forms.OverlaysOverlayBase
    Stemmer.Cvb.Forms.OverlaysOverlayPluginBase
      Stemmer.Cvb.Forms.OverlaysExtendedOverlayPluginBaseTextOutPlugInData
        Stemmer.Cvb.Forms.OverlaysTextOverlay

Namespace:  Stemmer.Cvb.Forms.Overlays
Assembly:  Stemmer.Cvb.Forms (in Stemmer.Cvb.Forms.dll) Version: 14.0.0.0
Syntax

public class TextOverlay : ExtendedOverlayPluginBase<TextOutPlugInData>

The TextOverlay type exposes the following members.

Constructors

  NameDescription
Public methodTextOverlay(String, Boolean, Color, Point, Font, Boolean, Double)
Constructor for text overlays
Public methodTextOverlay(String, Boolean, Color, Point, Font, Boolean, Double, Object)
Constructor for text overlays
Top
Properties

  NameDescription
Public propertyColor
Color of the label
(Inherited from OverlayBase.)
Protected propertyDisplayID
The ID under which the unmanaged display "knows" the label
(Inherited from OverlayBase.)
Public propertyFilled
Filled property is always false on this overlay.
Public propertyFont
Font to be used for the text.
Public propertyInvokeRequired
tell whether actions on the display object require an invoke action or not (being user interface objects, display objects should not be modified asynchronously)
(Inherited from OverlayBase.)
Public propertyIsDragable
Label dragable?
(Inherited from OverlayBase.)
Public propertyLocation
Position of the text.
Public propertyName
Friendly name of the overlay plugin
(Inherited from OverlayPluginBase.)
Public propertyParent
The display on which the label lives (if any...). Note that a label may only be associated with one display at a time
(Inherited from OverlayBase.)
Public propertyRotation
Rotation of the text in radians.
Public propertyShowFocus
Show or hide the focus point of the text overlay.
Public propertyTag
Field for user-definable data to be associated with the overlay object.
(Inherited from OverlayBase.)
Public propertyText
Text being displayed on the label and/or in the status line
(Inherited from OverlayBase.)
Public propertyXORPainting
XOR painting is not possible...
Top
Methods

  NameDescription
Public methodClone
Virtual copy Constructor
(Overrides OverlayPluginBaseClone.)
Protected methodCreateOverlayWrapper
overrideable creation function for overlay wrapper objects
(Inherited from ExtendedOverlayPluginBaseTData.)
Protected methodCreatePluginData
Create the plugin data structure according to the current set of properties.
(Overrides ExtendedOverlayPluginBaseTDataCreatePluginData.)
Protected methodDestroyAndCreatePropertyChanged
hook into the DestroyAndCreatePropertyChanged handling to make sure the Text field of the opiData struct contains up-to-date info
(Overrides OverlayBaseDestroyAndCreatePropertyChanged.)
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 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.)
Protected methodOnConnectToDisplay
hook into the "ConnectToDisplay" method to patch the problem that the OPI only paints its cross hair but not the text upon first instantiation
(Overrides OverlayBaseOnConnectToDisplay(Display).)
Protected methodOnDisconnectFromDisplay
Disconnect the object from its parent display.
(Inherited from OverlayBase.)
Protected methodOpiDataPropertyChanged
A property that is relevant for the opi data structure has been changed; as a consequence, the opi may potentially need to be re-generated in order to reflect the changes.
(Inherited from ExtendedOverlayPluginBaseTData.)
Protected methodOpiDataPropertyChanged(Boolean)
A property that is relevant for the opi data structure has been changed; as a consequence, the opi may potentially need to be re-generated in order to reflect the changes.
(Inherited from ExtendedOverlayPluginBaseTData.)
Protected methodOverlay_ConnectedToDisplay
Connect the overlay plugin to the display by means of an OPI wrapper
(Inherited from OverlayPluginBase.)
Protected methodOverlay_DisconnectedFromDisplay
Remove an OPI from a display (effectively: kill it...)
(Inherited from OverlayPluginBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields

  NameDescription
Protected fieldcolor_
Internally stored color.
(Inherited from OverlayBase.)
Protected fieldopiData_
The plugin-specific data structure
(Inherited from ExtendedOverlayPluginBaseTData.)
Protected fieldopiInfo_
information about the OPI that is being used by this object
(Inherited from OverlayPluginBase.)
Protected fieldvertices_
Array with the most up-to-date construction vertices
(Inherited from OverlayPluginBase.)
Top
See Also

Reference