不具合 ID 番号 |
BUG-000167134 |
送信されました | April 30, 2024 |
最終更新日 | June 27, 2025 |
適用対象 | ArcGIS Pro SDK for .NET |
見つかったバージョン | 3.2 |
オペレーティング システム | Windows OS |
オペレーティング システムのバージョン | 10.0 64 Bit |
ステータス | As Designed
開発チームによる確認後に、この動作が設計どおりであると判断されました。 詳細については、「参考情報」セクションをご参照ください。
|
参考情報
The older SDK MapView.Print(printerSettings) function was marked obsolete and was replaced by a new MapView.Print(printerSettingInfo) or Layout.Print(printerSettingInfo, MapSeriesOptions) function.
Here are some snippets:
PrinterSettingsInfo info = new PrinterSettingsInfo();
var printerSettings = info.PrinterSettings;
printerSettings.PrinterName = "some printer name";
printerSettings.DefaultPageSettings.Landscape = false;
printerSettings.Copies = 1;
info.DoShowSelectionSymbology = false;
info.LayoutOrMapName = layout.Name;
layout.Print(info);
対処法
Use the new Pro 3.5 MapView.Print(printerSettingInfo) or Layout.Print(printerSettingInfo, MapSeriesOptions) functions.
再現の手順