LeaderAndText Class

Leader and text label attached to a 3D point.
Public Class LeaderAndText 
Inherits TextOnly
This language is not supported or no code example is available.
public class LeaderAndText : TextOnly
This language is not supported or no code example is available.
Name Description
Public property Alignment Gets or sets the label align mode. (inherited from Label).
Public property AnchorPoint Gets or sets the label anchor point. (inherited from Label).
Public property Color Gets or sets the label color. (inherited from Label).
Public property ColorForSelection Gets or sets the color used when the label is selected. (inherited from TextOnly).
Public property FillColor Gets or sets the label fill color. (inherited from TextOnly).
Public property FillColorForSelection Gets or sets the fill color used when the label is selected. (inherited from TextOnly).
Public property Font Gets or sets the label font. (inherited from TextOnly).
Internal protected (Protected Friend) property Image Gets the label image. (inherited from Label).
Public property LabelData Gets or sets the label custom data. If the type implements ICloneable it will be cloned when the Label is cloned. (inherited from Label).
Public property Offset Gets or sets the label offset from the 3D attaching point.
Public property OnScreenPosition Gets label position on screen.
Public property RegenMode Gets or sets the label regeneration mode. (inherited from Label).
Public property Selectable Gets or sets the value that tells if the item can be selected. (inherited from Label).
Public property Selected Gets or sets the label selection status. (inherited from Label).
Public property Size Gets the size of the label. (inherited from TextOnly).
Public property Text Gets or sets the label text. (inherited from TextOnly).
Public property Vertical If true, the text will be drawn vertically. (inherited from TextOnly).
Public property Visible If false the label is not drawn. (inherited from Label).
Top
Methods
 
Name Description
Public method ClearSelectionForAllInstances() Clears the selection status. (inherited from Label).
Public method Clone() Creates a new object that is a copy of the current instance.
Protected method ComputePositions(float, float) (inherited from Label).
Internal protected (Protected Friend) method ComputePositionsGDI(float)
Protected method CreateSelectedBitmap(float) (inherited from TextOnly).
Public method Dispose() Releases unmanaged resources. (inherited from Label).
Public method Draw(RenderContextBase) Standard draw method.
Internal protected (Protected Friend) method DrawForSelection(RenderContextBase)
Protected method DrawForSelection(RenderContextBase, float, float) (inherited from TextOnly).
Public method DrawGdi(float, float, Graphics) GDI draw method.
Protected method DrawLeaderLine(RenderContextBase, Vector2D) (inherited from Label).
Public method DrawSelected(RenderContextBase) Draw method for selected labels.
Protected method DrawTexture(RenderContextBase, TextureBase, RectangleF, bool) (inherited from Label).
Public method DrawWithOffset(RenderContextBase, int, int) Draws the label with an offset from attaching point. (inherited from TextOnly).
Public method DrawWithOffsetGdi(float, float, float, Graphics) Draws (GDI) the label with an offset from attaching point. (inherited from TextOnly).
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Protected method GetBitmap() Gets the proper image according to current selection status. (inherited from Label).
Protected method GetBitmapFromText(Font, float, Color, Color) (inherited from TextOnly).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetObjectData(SerializationInfo, StreamingContext) Populates a SerializationInfo instance with the data needed to serialize the target object.
Public method GetSelection(Stack<BlockReference>) Tells if the instance referred by the stack of parents is selected. (inherited from Label).
Protected method GetTexture(RenderContextBase) Gets the proper texture according to current selection status. (inherited from Label).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method IsAnyInstanceSelected() Tells if the label is selected. (inherited from Label).
Public method IsClipped(ClippingPlaneBase[]) Tells if a label is clipped by the clipping planes. (inherited from Label).
Public method IsSelected(Stack<BlockReference>) Obsolete. Tells if the instance referred by the stack of parents is selected. (inherited from Label).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Regen(RenderContextBase, float) Regenerates the label creating the internal data needed to draw the label. (inherited from TextOnly).
Public method ScaleForDPI() Scales the element for high DPI settings. (inherited from TextOnly).
Protected method SetImage(Bitmap) (inherited from Label).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method UpdatePos(RenderContextBase, double[], int[]) Update label position on screen. (inherited from Label).
Top
Fields
 
Name Description
Protected field bitmapImage (inherited from Label).
Protected field labelColor Label color. (inherited from Label).
Protected field labelFillColor Background color. (inherited from TextOnly).
Protected field selectedTexture (inherited from Label).
Protected field texture (inherited from Label).
Protected field userImageForSelection (inherited from Label).
Top

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition