Class SLScope.TSLOptionalView
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabScopePkg
Unit: SLScope
Inherits: TSLCustomSizeDisplayView
Contents |
Syntax
Delphi:
type TSLOptionalView = class( TSLCustomSizeDisplayView )
C++ Builder:
class TSLOptionalView : public TSLCustomSizeDisplayView
Visual C++ (MFC):
class CTSLOptionalView : public CTSLCustomSizeDisplayView
C# (.NET):
public ref class OptionalView : Mitov.PlotLab.CustomSizeDisplayView
Summary
Base abstract class for optional display view.
Description
This is a base class for data view for optional visual data displays such as the legend or the axis in Scopes or Spectrum Analyzers. The display views are created internally by the data displays. Do not make instances of this class or its descendants.
Properties
Published
- Visible - Specifies whether or not the viw is visible.
Methods
Public
From TSLCustomSizeDisplayView
Properties
Published
- ViewSize - Specifies the way the view size will be calculated.
- Align - Specifies the desired alignment for the view (Left, Right, Top, Bottom etc.)
From TSLCustomColorDisplayView
Properties
Published
- Background - Specifies the background settings.
From TSLDisplayView
Properties
Public
- Height - Use this property to get the Height of the view in pixels.
- Width - Use this property to get the Width of the view in pixels.
- Top - Use this property to get the Top position of the view in pixels.
- Left - Use this property to get the Left position of the view in pixels.
- DefaultRect
Methods
Public
- function IsVisible() : Boolean
- function IsVisibleForced() : Boolean
- function GetIntValueAt(X : Integer; Y : Integer) : Real
- function GetMinValue() : Real
- function GetMaxValue() : Real
- procedure Draw(ADrawPart : TSLDisplayDrawPart; ACanvas : TLPCanvas; Vertical : Boolean; Printing : Boolean)
- procedure DrawEx(ADrawPart : TSLDisplayDrawPart; ACanvas : TLPCanvas; Vertical : Boolean)
- procedure DrawMouseSelction(ACanvas : TLPCanvas)