GrapeCity ActiveReports for .NET 12.0J
AnnotationArrow クラス
メンバ  使用例 

AnnotationArrowオブジェクト(テキストを入力できる2D矢印)を描画します。
オブジェクト モデル
AnnotationArrow クラス
構文
'宣言
 
Public NotInheritable Class AnnotationArrow 
   Inherits AnnotationText
public sealed class AnnotationArrow : AnnotationText 
使用例
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;
}
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
継承階層

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

参照

関連項目

AnnotationArrow メンバ
GrapeCity.ActiveReports.Document.Section.Annotations 名前空間

 

 


Copyright © 2003 GrapeCity inc. All rights reserved.