Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在 Printform 中将纸张尺寸更改为 A5,但我无法设置真实属性。
pf.PrinterSettings.DefaultPageSettings.PaperSize.PaperName()
在这一行中,我不知道该怎么写paperName
paperName
我找到了解决方案。
printform.PrinterSettings.DefaultPageSettings.PaperSize.RawKind = Printing.PaperKind.A5