简体   繁体   English

如何在 Visual Studio 2019 中保存页面设置边距?

[英]How do I save the page setup margins in Visual Studio 2019?

I am trying to save the setting for the page margins in Visual Studio 2019. When I open the window it comes up with the default of 1" margin on all sides. I then change them to.5" on all sides and then print my file.我正在尝试在 Visual Studio 2019 中保存页边距的设置。当我打开 window 时,它会在所有边上显示默认的 1" 边距。然后我将它们在所有边上更改为 .5" 然后打印我的文件。 When I return to print again after closing the project I have to reset the margins.当我在关闭项目后再次返回打印时,我必须重新设置边距。 Is there a way to save my settings?有没有办法保存我的设置? Thanks for your help.谢谢你的帮助。 Alex亚历克斯

Please go tohttps://alexbrigden.zenfolio.com/p135920353/hf6acf00a#hf6acf00a for a screenshot of what I am trying to do.请 go 到https://alexbrigden.zenfolio.com/p135920353/hf6acf00a#hf6acf00a获取我正在尝试执行的操作的屏幕截图。 Here I have changed the margins and now I would like them to stay as the default.在这里,我更改了边距,现在我希望它们保持默认值。 I get to this popup by selecting file/page setup in the top left-hand corner.我通过选择左上角的文件/页面设置来打开这个弹出窗口。 Thanks again for your help.再次感谢你的帮助。

This was driving me crazy too.这也让我发疯。 It seems like Visual Studio remembers the page setup setting per individual source file.似乎 Visual Studio 会记住每个源文件的页面设置设置。

Install the Visual Studio extension "Remember PageSetup V2".安装 Visual Studio 扩展“记住 PageSetup V2”。 Once you set the page setup, it's remembered.一旦你设置了页面设置,它就会被记住。 The remembered settings are used anytime you want to print any source file, and the settings persist across Visual Studio sessions.记住的设置可在您想要打印任何源文件时使用,并且这些设置会在 Visual Studio 会话中持续存在。 Very useful.很有用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 SQL 中保存注册页面数据并在 Visual Basic (Visual Studio 2019) 中验证并重定向到主页 - Save registration page data in SQL and validate and redirect to home page in Visual Basic (Visual Studio 2019) 如何将textBox转换为int,然后在Visual Studio 2019中对其进行简单的数学运算? - How do I convert textBox to int and then do simple math with it in visual studio 2019? Visual Studio 2019 .NET VB Web 应用程序如何将查询结果显示到 ViewGrid? - Visual Studio 2019 .NET VB Web application how do i display a query result to a ViewGrid? visual studio 2019 我怎么知道要导入的引用和路径设置 - visual studio 2019 how do I know what References to import and path settings Visual Studio 2019(Visual Basic) 中的 For 循环没有按照我的预期做 - For Loop in Visual Studio 2019(Visual Basic) Not Doing what I expect it to do 如何在 Visual Studio 2019 中读取文本文件? - How to read a text file in Visual Studio 2019? Visual Studio 2019-如何在调试时逐步进行操作? - Visual Studio 2019 -How can I go step-by-step while debugging? 如何保存日期和时间,然后在datagridview中将它们从新到旧排序,我正在使用Visual Studio 2015和SQL服务器 - How do I save date and time and then sort them from new to old in datagridview, I'm using Visual Studio 2015 and SQL server 我无法在 Visual Studio 2019 中创建 Web 应用程序 - I cannot create Web Application in Visual Studio 2019 如何停止 Visual Studio 2019 自动格式化我的 Designer 文件 - How to stop Visual Studio 2019 auto formatting my Designer file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM