Issue mentioned on Export PDF我在Spotfire中有一个页面,有时它的大小比常规页面大,当我使用IronPython导出它时,它已被导出,但是可视化被剪切并添加到单个页面中,如何扩展导出到多个页面(我可以修改页面大小,但我希望将其保持在“纵向”中为A4页面大小)
但是即使我更改了“ Scope”或“ UseEntirePage”属性,我仍然会出现这种情况
pdfexpsettings = PdfExportSettings()
pdfexpsettings.UseEntirePage = True
pdfexpsettings.IncludePageFooter=True
pdfexpsettings.Scope = ExportScope.ActiveVisualization
pdfexpsettings.IncludeNonVisibleContent = True
if Document.Properties["Orientation"] == 0:
pdfexpsettings.PageOrientation = PageOrientation.Portrait
else:
pdfexpsettings.PageOrientation = PageOrientation.Landscape
pdfexpsettings.IncludeFilterSettings = False
pdfexpsettings.IncludePageTitles = False
pdfexpsettings.IncludeVisualizationTitles = True
pdfexpsettings.IncludeVisualizationDescriptions = False
size = Document.Properties["Size"]
if size == 0:
pdfexpsettings.PaperSize = PaperSize.A4
elif size ==1:
pdfexpsettings.PaperSize = PaperSize.Letter
elif size ==2:
pdfexpsettings.PaperSize = PaperSize.A0
elif size ==3:
pdfexpsettings.PaperSize = PaperSize.A1
elif size ==4:
pdfexpsettings.PaperSize = PaperSize.A2
elif size ==5:
pdfexpsettings.PaperSize = PaperSize.A3
elif size ==6:
pdfexpsettings.PaperSize = PaperSize.A5
elif size ==7:
pdfexpsettings.PaperSize = PaperSize.Legal
if Document.Properties["Orientation"] == 0:
pdfexpsettings.PageOrientation = PageOrientation.Portrait
else:
pdfexpsettings.PageOrientation = PageOrientation.Landscape