Class SLScope.TSLLegendView
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(6 intermediate revisions by one user not shown) | |||
Line 26: | Line 26: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' LegendView : [[Class SLScope.TSLOptionalView|Mitov.PlotLab.OptionalView]] |
</code> | </code> | ||
== Summary == | == Summary == | ||
Line 47: | Line 47: | ||
*[[Property SLScope.TSLLegendView.Font|Font]] - Specifies the font for the legend. | *[[Property SLScope.TSLLegendView.Font|Font]] - Specifies the font for the legend. | ||
*[[Property SLScope.TSLLegendView.Buttons|Buttons]] - Specifies the appearance and the behavior of the Legend view buttons. | *[[Property SLScope.TSLLegendView.Buttons|Buttons]] - Specifies the appearance and the behavior of the Legend view buttons. | ||
+ | *[[Property SLScope.TSLLegendView.Align|Align]] | ||
== Methods == | == Methods == | ||
Line 59: | Line 60: | ||
=== Published === | === Published === | ||
*[[Property SLScope.TSLOptionalView.Visible|Visible]] - Specifies whether or not the viw is visible. | *[[Property SLScope.TSLOptionalView.Visible|Visible]] - Specifies whether or not the viw is visible. | ||
+ | |||
+ | == Methods == | ||
+ | |||
+ | === Public === | ||
+ | *[[Method function SLScope.TSLOptionalView.IsVisible() : Boolean|function IsVisible() : Boolean]] | ||
+ | *[[Method function SLScope.TSLOptionalView.IsVisibleForced() : Boolean|function IsVisibleForced() : Boolean]] | ||
== From [[Class SLScope.TSLCustomSizeDisplayView|TSLCustomSizeDisplayView]] == | == From [[Class SLScope.TSLCustomSizeDisplayView|TSLCustomSizeDisplayView]] == | ||
Line 89: | Line 96: | ||
=== Public === | === Public === | ||
+ | *[[Method function SLScope.TSLDisplayView.IsVisible() : Boolean|function IsVisible() : Boolean]] | ||
+ | *[[Method function SLScope.TSLDisplayView.IsVisibleForced() : Boolean|function IsVisibleForced() : Boolean]] | ||
+ | *[[Method function SLScope.TSLDisplayView.GetIntValueAt(Integer;Integer) : Real|function GetIntValueAt(X : Integer; Y : Integer) : Real]] | ||
+ | *[[Method function SLScope.TSLDisplayView.GetMinValue() : Real|function GetMinValue() : Real]] | ||
+ | *[[Method function SLScope.TSLDisplayView.GetMaxValue() : Real|function GetMaxValue() : Real]] | ||
*[[Method procedure SLScope.TSLDisplayView.Draw(TSLDisplayDrawPart;TLPCanvas;Boolean;Boolean)|procedure Draw(ADrawPart : TSLDisplayDrawPart; ACanvas : TLPCanvas; Vertical : Boolean; Printing : Boolean)]] | *[[Method procedure SLScope.TSLDisplayView.Draw(TSLDisplayDrawPart;TLPCanvas;Boolean;Boolean)|procedure Draw(ADrawPart : TSLDisplayDrawPart; ACanvas : TLPCanvas; Vertical : Boolean; Printing : Boolean)]] | ||
*[[Method procedure SLScope.TSLDisplayView.DrawEx(TSLDisplayDrawPart;TLPCanvas;Boolean)|procedure DrawEx(ADrawPart : TSLDisplayDrawPart; ACanvas : TLPCanvas; Vertical : Boolean)]] | *[[Method procedure SLScope.TSLDisplayView.DrawEx(TSLDisplayDrawPart;TLPCanvas;Boolean)|procedure DrawEx(ADrawPart : TSLDisplayDrawPart; ACanvas : TLPCanvas; Vertical : Boolean)]] | ||
Line 99: | Line 111: | ||
=== Public === | === Public === | ||
*[[Property SLScope.TSLDisplayComponent.DrawRect|DrawRect]] | *[[Property SLScope.TSLDisplayComponent.DrawRect|DrawRect]] | ||
+ | |||
+ | == Methods == | ||
+ | |||
+ | === Public === | ||
+ | *[[Method function SLScope.TSLDisplayComponent.IsVisible() : Boolean|function IsVisible() : Boolean]] | ||
+ | *[[Method function SLScope.TSLDisplayComponent.GetOwner() : TPersistent|function GetOwner() : TPersistent]] | ||
== From [[Class LPComponent.TLPPersistent|TLPPersistent]] == | == From [[Class LPComponent.TLPPersistent|TLPPersistent]] == | ||
Line 105: | Line 123: | ||
=== Public === | === Public === | ||
+ | *[[Method function LPComponent.TLPPersistent.QueryInterface(TGUID;TObject) : HResult|function QueryInterface(IID : TGUID; Obj : TObject) : HResult]] | ||
+ | *[[Method function LPComponent.TLPPersistent.GetOwner() : TPersistent|function GetOwner() : TPersistent]] | ||
*[[Method procedure LPComponent.TLPPersistent.OwnerNameChanged(String;String)|procedure OwnerNameChanged(AOldName : String; ANewName : String)]] | *[[Method procedure LPComponent.TLPPersistent.OwnerNameChanged(String;String)|procedure OwnerNameChanged(AOldName : String; ANewName : String)]] | ||
[[Category:Classes]] | [[Category:Classes]] |
Latest revision as of 00:30, 26 June 2013
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: TSLOptionalView
Syntax
Delphi:
type TSLLegendView = class( TSLOptionalView )
C++ Builder:
class TSLLegendView : public TSLOptionalView
Visual C++ (MFC):
class CTSLLegendView : public CTSLOptionalView
C# (.NET):
public ref class LegendView : Mitov.PlotLab.OptionalView
Summary
Visual Legend of a display class.
Description
Defines the visual Legend of a display such as Scope or Spectrum Analyzer. Used internally by TSLDataChart descendants.
Example:
Properties
Published
- Font - Specifies the font for the legend.
- Buttons - Specifies the appearance and the behavior of the Legend view buttons.
- Align
Methods
Public
From TSLOptionalView
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)