DevExpress での一覧、帳票等のレポート(ASPxWebDocumentViewer)のバーコード(XRBarCode)のテキスト非表示設定のサンプルです。
現状の画面デザインはこのようになっています。
<レポートのバーコードのテキスト非表示設定>
「XtraReport1」ファイルの「XrBarCode1」を選択します。
「XRBarCode」のプロパティから「Me.XrBarCode1.ShowText = False」を設定します。
【サンプルプログラム(VB.Net)】
1 2 3 4 5 6 7 8 9 10 11 |
' 'XrBarCode1 ' Me.XrBarCode1.AutoModule = True Me.XrBarCode1.LocationFloat = New DevExpress.Utils.PointFloat(730.0!, 5.0!) Me.XrBarCode1.Name = "XrBarCode1" Me.XrBarCode1.Padding = New DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 100.0!) Me.XrBarCode1.ShowText = False Me.XrBarCode1.SizeF = New System.Drawing.SizeF(200.0!, 50.0!) Me.XrBarCode1.Symbology = Code128Generator1 Me.XrBarCode1.Text = "AQUREX-2024" |
それでは、実行して動作確認を行います。
↓
無事、一覧、帳票等のレポート(ASPxWebDocumentViewer)のバーコード(XRBarCode)のテキスト非表示設定が出来ました。