Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
DefaultText Property
See Also 
Leadtools.Annotations Namespace > AnnTextDrawDesigner Class : DefaultText Property




Gets or sets the default text to be used with new AnnTextObject objects.

Syntax

Visual Basic (Declaration) 
Public Overridable Property DefaultText As String
Visual Basic (Usage)Copy Code
Dim instance As AnnTextDrawDesigner
Dim value As String
 
instance.DefaultText = value
 
value = instance.DefaultText
C# 
public virtual string DefaultText {get; set;}
Managed Extensions for C++ 
public: __property virtual string* get_DefaultText();
public: __property virtual void set_DefaultText( 
   string* value
);
C++/CLI 
public:
virtual property String^ DefaultText {
   String^ get();
   void set (String^ value);
}

Return Value

A String that represents the default text.

Example

For an example, refer to AnnTextDrawDesigner.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features