DevExpress での一覧、帳票等のレポート(ASPxWebDocumentViewer)の楕円(シェイプ)の線タイプ設定のサンプルです。
現状の画面デザインはこのようになっています。
<レポートの楕円(シェイプ)の線タイプ設定>
「XrShape1」オブジェクトを選択します。
「XrShape1」のプロパティから「Me.XrShape1.LineStyle = System.Drawing.Drawing2D.DashStyle.DashDot」を設定します。
↓
【サンプルプログラム(VB.Net)】
1 2 3 4 5 6 7 8 9 10 11 |
' 'XrShape1 ' Me.XrShape1.ForeColor = System.Drawing.Color.Blue Me.XrShape1.LineStyle = System.Drawing.Drawing2D.DashStyle.DashDot Me.XrShape1.LineWidth = 3 Me.XrShape1.LocationFloat = New DevExpress.Utils.PointFloat(730.0!, 20.00001!) Me.XrShape1.Name = "XrShape1" Me.XrShape1.SizeF = New System.Drawing.SizeF(120.0!, 70.0!) Me.XrShape1.StylePriority.UseBorderWidth = False Me.XrShape1.StylePriority.UseForeColor = False |
それでは、実行して動作確認を行います。
↓
無事、一覧、帳票等のレポート(ASPxWebDocumentViewer)の楕円(シェイプ)の線タイプ設定が出来ました。