Legend Class
Public Class Legend
Inherits UserInterfaceBase
Implements IUserInterfaceElement, _
ICloneable
This language is not supported or no code example is available.
public class Legend : UserInterfaceBase,
IUserInterfaceElement,
ICloneable
This language is not supported or no code example is available.
Top
Name | Description | |
---|---|---|
AlignValuesRight | If true, values are aligned right. | |
AlignValuesVerticalMiddle | If true, the values are vertically aligned to the middle of the colored rectangles. | |
ColorTable | Gets or sets the color table. | |
CustomViewport | Tells if the UI element is drawn with a custom viewport. (inherited from UserInterfaceBase). | |
Disposed | (inherited from DisposableBase). | |
FactorOfSafety15 | Factor of safety color gradient (15 items). | |
FontFamily | Gets or sets the text font family. | |
FontSize | Gets or sets the text font size. | |
FontStyle | Gets or sets the text font style. | |
FontWeight | Gets or sets the text font weight. | |
FormatString | Value's numeric format. Useful to change number format and decimal places. | |
IsSlave | If true, the legend minimum and maximum values are set automatically (FEM only). | |
ItemSize | Size of each color rectangle. | |
Lighting | When false, the UI element is drawn with a flat color. | |
LocationAtOrigin | When doing a render to Bitmap of the item, must not change the viewport origin. (inherited from UserInterfaceBase). | |
Max | Gets or sets legend maximum value. | |
Min | Gets or sets legend minimum value. | |
ParentViewport | (inherited from UserInterfaceBase). | |
Position | Top left corner position. | |
RedToBlue17 | Standard Red to Blue color gradient (17 items). | |
RedToBlue33 | Standard Red to Blue color gradient (33 items). | |
RedToBlue9 | Standard Red to Blue color gradient (9 items). | |
Subtitle | Gets or sets the legend subtitle. | |
TextBackgroundColor | Text background color (supports semi-transparent colors). | |
TextColor | Value text color. | |
TextFont | Gets or sets the value font. | |
Title | Gets or sets the legend title. | |
TitleColor | Title text color. | |
TitleFont | Title font. | |
TitleFontSize | Gets or sets the text font size. | |
Values | Gets the legend values. | |
Visible | Visibility status. |
Name | Description | |
---|---|---|
BuildGradient(int) | Builds a red to blue gradient array of colors. | |
Clone() | Creates a new object that is a copy of the current instance. | |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Draw(Environment, Viewport) | ||
DrawForBitmap(object) | ||
DrawGdi(float, float, Graphics, Environment, Viewport, Point) | ||
Equals(Object) | Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetBounds(Viewport) | Gets the bounds rectangle in screen coordinates. | |
GetDefaultLayerName(Environment) | Use this method to get the correct layer name for internal Meshes. (inherited from UserInterfaceBase). | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetScalingLevelRatio() | Gets scaling level ratio used to get the correct font size. | |
GetStringValue(int) | Gets the string corresponding to the n-th value. | |
GetThumbnail(Viewport, Size, Color) | Gets a thumbnail bitmap of the user interface element. | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
ObservableCollectionPropertyChanged(object, NotifyCollectionChangedEventArgs) | For internal use only. (inherited from DisposableBase). | |
RaisePropertyChangedEvent(object, DependencyProperty) | For internal use only. (inherited from DisposableBase). | |
ScaleForDPI() | Scales the element for high DPI settings. | |
SetRange(double, double) | Sets the range of legend values. | |
ToString | Returns a string that represents the current object. (inherited from Object). | |
Update(IUserInterfaceElement) |
Name | Description | |
---|---|---|
Disposed | ||
PropertyChanged | For internal use only. (inherited from DisposableBase). |
Name | Description | |
---|---|---|
FontFamilyProperty | ||
FontSizeProperty | ||
FontStyleProperty | ||
FontWeightProperty | ||
PropertyChangedEvent | For internal use only. (inherited from DisposableBase). | |
TitleFontSizeProperty |
devDept.Eyeshot.Legend