Bug-ID-Nummer |
BUG-000167134 |
Eingereicht | April 30, 2024 |
Zuletzt geändert | June 27, 2025 |
Gilt für | ArcGIS Pro SDK for .NET |
Gefunden in Version | 3.2 |
Betriebssystem | Windows OS |
Betriebssystemversion | 10.0 64 Bit |
Status | As Designed
Nach Überprüfung durch das Entwicklungsteam wurde festgestellt, dass dieses Verhalten wie geplant ist. Weitere Informationen finden Sie im Abschnitt "Zusätzliche Informationen".
|
Zusätzliche Informationen
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);
Workaround
Use the new Pro 3.5 MapView.Print(printerSettingInfo) or Layout.Print(printerSettingInfo, MapSeriesOptions) functions.
Schritte zur Reproduzierung