ActiveReports.Document Assembly > DataDynamics.ActiveReports.Document.Annotations Namespace : AnnotationBalloon Class |
'Declaration Public NotInheritable Class AnnotationBalloon Inherits AnnotationText
public sealed class AnnotationBalloon : AnnotationText
using DataDynamics.ActiveReports.Viewer.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 DataDynamics.ActiveReports.Viewer.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
DataDynamics.ActiveReports.Document.Annotations.Annotation
DataDynamics.ActiveReports.Document.Annotations.AnnotationBaseText
DataDynamics.ActiveReports.Document.Annotations.AnnotationText
DataDynamics.ActiveReports.Document.Annotations.AnnotationBalloon
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