ActiveReports.Viewer3 Request technical support
AnnotationArrow Class
See Also  Members   Example 


Represents the AnnotationArrow object.

Object Model


Syntax

Visual Basic (Declaration) 
Public Class AnnotationArrow 
   Inherits AnnotationText
Visual Basic (Usage)Copy Code
Dim instance As AnnotationArrow
C# 
public class AnnotationArrow : AnnotationText 

Example

C#Copy Code
using DataDynamics.ActiveReports.Viewer.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 DataDynamics.ActiveReports.Viewer.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
         DataDynamics.ActiveReports.Viewer.Annotations.Annotation
            DataDynamics.ActiveReports.Viewer.Annotations.AnnotationText
               DataDynamics.ActiveReports.Viewer.Annotations.AnnotationArrow

See Also