Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class AnnHiliteObject Inherits AnnRectangleObject |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[SerializableAttribute()] public class AnnHiliteObject : AnnRectangleObject |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class AnnHiliteObject : public AnnRectangleObject |
XAML Object Element Usage | |
---|---|
<AnnHiliteObject .../> |
XAML Object Element Usage | |
---|---|
<AnnHiliteObject .../> |
This example creates a hilite object.
Visual Basic | Copy Code |
---|---|
Private Sub AnnHiliteObject_AnnHiliteObject(ByVal container As AnnContainer) |
C# | Copy Code |
---|---|
private void AnnHiliteObject_AnnHiliteObject(AnnContainer container) |
XAML | Copy Code |
---|---|
<Window x:Class="WPFSamples.AnnHiliteObject" Title="Leadtools.Windows.Annotations" Height="600" Width="800" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Leadtools_Windows_Annotations="clr-namespace:Leadtools.Windows.Annotations;assembly=Leadtools.Windows.Annotations"> |
The hilite annotation object is a simple rectangle that has a bounding rectangle, no stroke and no fill. Although it does not have a stroke or fill, it does have a color value that is used to fill this bounding area. By default the hilite object uses a yellow color.
For more information about the highlight annotation object refer to AnnHiliteObject for WPF. For more information about the automated highlight annotation object, refer to WPF Annotation Objects - Automated Features.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
Leadtools.Windows.Annotations.AnnObjectBase
Leadtools.Windows.Annotations.AnnRectangleObject
Leadtools.Windows.Annotations.AnnHiliteObject
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family