GrapeCity ActiveReports for .NET 14.0J
Width プロパティ (AnnotationLine)
使用例 

GrapeCity.ActiveReports.Document アセンブリ > GrapeCity.ActiveReports.Document.Section.Annotations 名前空間 > AnnotationLine クラス : Width プロパティ
AnnotationLineオブジェクトの幅を取得または設定します。
シンタックス
'宣言
 
Public Overrides NotOverridable Property Width As Single
public override float Width {get; set;}

プロパティ値

浮動小数点値または単精度浮動小数点値(インチ単位)。
使用例
using GrapeCity.ActiveReports.Document.Section.Annotations;   
   
private void AddAnnotations()   
{   
    rptAnno rpt = new rptAnno();   
    rpt.Run();   
    this.viewer1.Document = rpt.Document;   
   
    AnnotationLine line = new AnnotationLine();   
    line.ArrowCapWidth = 4.5f;   
    line.ArrowCapHeight = 4.5f;   
    line.DashStyle = System.Drawing.Drawing2D.DashStyle.DashDotDot;   
    line.DashCap = System.Drawing.Drawing2D.DashCap.Round;   
    line.ShowArrowCaps = AnnotationLine.ShowArrowCap.RightOnly;   
    line.FillArrowCaps = true;   
    line.LineColor = Color.Red;   
    line.LineWidth = 1;   
    line.LineLocation = AnnotationLine.LinePlacement.Bottom;   
    line.Text = "レビューしてください。";   
    line.TextColor = Color.Blue;   
    line.TextAlignment = System.Drawing.StringAlignment.Center;   
    line.TextWidth = 1.2f; 
               
    line.Attach(4, 4);   
    this.viewer1.Document.Pages[0].Annotations.Add(line);   
   
    line.Height = 0.50f;   
    line.Width = 1.5f;   
}
Imports GrapeCity.ActiveReports.Document.Section.Annotations

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

 Dim line As AnnotationLine = New AnnotationLine
 line.ArrowCapWidth = 4.5F
 line.ArrowCapHeight = 4.5F
 line.DashStyle = System.Drawing.Drawing2D.DashStyle.DashDotDot
 line.DashCap = System.Drawing.Drawing2D.DashCap.Round
 line.ShowArrowCaps = AnnotationLine.ShowArrowCap.RightOnly
 line.FillArrowCaps = True
 line.LineColor = Color.Red
 line.LineWidth = 1
 line.LineLocation = AnnotationLine.LinePlacement.Bottom
 line.Text = "レビューしてください。"
 line.Font = New Font("Arial", 12F, FontStyle.Bold)
 line.TextColor = Color.Blue
 line.TextAlignment = System.Drawing.StringAlignment.Center

 line.Attach(4, 4)
 Me.viewer1.Document.Pages(0).Annotations.Add(line)

 line.Height = 0.5F
 line.Width = 1.5F
End Sub
参照

AnnotationLine クラス
AnnotationLine メンバ