ActiveReports 8
AnnotationArrow Class
Members  Example  See Also 
GrapeCity.ActiveReports.Document.v8 Assembly > GrapeCity.ActiveReports.Document.Section.Annotations Namespace : AnnotationArrow Class

Glossary Item Box

 Represents the AnnotationArrow object.

Object Model

AnnotationArrow Class

Syntax

Visual Basic (Declaration) 
Public NotInheritable Class AnnotationArrow 
   Inherits AnnotationText
C# 
public sealed class AnnotationArrow : AnnotationText 

Example

C#Copy Code
using GrapeCity.ActiveReports.Document.Section.Annotations

private void AddAnnotations()
{
   rptAnno rpt = new rptAnno();
   rpt.Run();
   this.viewer1.Document = rpt.Document;

   AnnotationArrow arrow = new AnnotationArrow();
   arrow.ArrowDirection = ArrowDirection.Right;
   arrow.Text = "Look";
   arrow.TextColor = Color.Blue;
   arrow.Alpha = 255;
   arrow.Color = Color.Gray;

   arrow.Attach(2, 2);
   this.viewer1.Document.Pages[0].Annotations.Add(arrow);

   arrow.Height = 0.25f;
   arrow.Width = 1.50f;
}
Visual BasicCopy Code
Imports GrapeCity.ActiveReports.Document.Section.Annotations

Private Sub AddAnnotations() 
   Dim rptAnno As New rptAnno()
   rpt.Run()
   Me.Viewer1.Document = rpt.Document

   Dim arrow As New AnnotationArrow
   arrow.ArrowDirection = ArrowDirection.Right
   arrow.Text = "Look"
   arrow.TextColor = Color.Blue
   arrow.Alpha = 255
   arrow.Color = Color.Gray
   
   arrow.Attach(2, 2)
   this.Viewer1.Document.Pages(0).Annotations.Add(arrow)
   
   arrow.Height = 0.25
   arrow.Width = 1.50
End Sub

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         GrapeCity.ActiveReports.Document.Section.Annotations.Annotation
            GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationBaseText
               GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationText
                  GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationArrow

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also