作成日: 2022/04/20 最終更新日: 2022/04/20
文書種別
技術情報
詳細
ActiveReports for .NET 16.0J では、以下の名前空間が変更されています。
これらの変更はファイルコンバータの処理では更新されない場合があります。該当する記述でエラーが発生する場合は、手動で変更してください。
-
GrapeCity.ActiveReports.Drawing ⇒ GrapeCity.ActiveReports.Document.Section
以下の列挙型はバージョン14.0Jでのみ異なる名前空間に属していました。
バージョン14.0Jから移行する場合は、手動での変更が必要です。- TextAlignment
- TextJustify
- VerticalTextAlignment
- WrapMode
◆サンプルコード
// 14.0J rpt.Document.Pages[0].TextAlignment = GrapeCity.ActiveReports.Drawing.TextAlignment.Center; // 16.0J rpt.Document.Pages[0].TextAlignment = GrapeCity.ActiveReports.Document.Section.TextAlignment.Center;