PowerTools ActiveReports for .NET 11.0J
AnnotationBalloon クラス
メンバ  使用例 

オブジェクト モデル
AnnotationBalloon クラス
構文
'宣言
 
Public NotInheritable Class AnnotationBalloon 
   Inherits AnnotationText
public sealed class AnnotationBalloon : AnnotationText 
使用例
using GrapeCity.ActiveReports.Document.Section.Annotations; 
 
private void AddAnnotations() 
{ 
    rptAnno rpt = new rptAnno(); 
    rpt.Run(); 
    this.viewer1.Document = rpt.Document; 
 
    AnnotationBalloon ball = new AnnotationBalloon();
    ball.Color = Color.LightSalmon;
    ball.Alpha = 75;
    ball.Border.Color = Color.Red;
    ball.Text = "Needs Review";
    ball.TextColor = Color.Black;
    ball.LineAligment = System.Drawing.StringAlignment.Center;
    ball.Alignment = System.Drawing.StringAlignment.Center;
    ball.Quadrant = AnnotationBalloon.BallonQuadrant.BottomLeft;

    ball.Attach(3, 3);
    this.viewer1.Document.Pages[0].Annotations.Add(ball);

    ball.Height = 1;
    ball.Width = 1.5f; 
}
Imports GrapeCity.ActiveReports.Document.Section.Annotations

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

   Dim ball As New AnnotationBalloon()
   ball.Color = Color.LightSalmon;
   ball.Alpha = 75;
   ball.Border.Color = Color.Red;
   ball.Text = "Needs Review";
   ball.TextColor = Color.Black;
   ball.LineAligment = System.Drawing.StringAlignment.Center;
   ball.Alignment = System.Drawing.StringAlignment.Center;
   ball.Quadrant = AnnotationBalloon.BallonQuadrant.BottomLeft;

   ball.Attach(4, 4)
   Me.Viewer1.Document.Pages(0).Annotations.Add(ball)

   ball.Height = 1
   ball.Width = 1.5
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.AnnotationBalloon

参照

関連項目

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

 

 


©2003-2017 GrapeCity inc. All rights reserved.