←Select platform

TextColor Property

Summary

Gets or sets the text System.Drawing.Color structure associated with this AnnDrawable object.

Syntax

C#
VB
C++
[XmlIgnoreAttribute()] 
public virtual Color TextColor { get; set; } 
  
Public Overridable Property TextColor As Color 
public: 
virtual property Color TextColor { 
   Color get(); 
   void set (    Color ); 
} 

Property Value

The text System.Drawing.Color structure associated with this AnnDrawable object.

Remarks

If this AnnDrawable does not support fonts (SupportsFont value is false), this property will always return the default black color.

If this AnnDrawable does not support fonts (SupportsFont value is false), setting this property to any value will be ignored.

Example

For an example, refer to AnnDrawable.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly