C# 操作注册表
来源:互联网 发布:宇宙外面是什么 知乎 编辑:程序博客网 时间:2024/06/11 22:42
//设置ie打印的边距
RegistryKey regKey = Registry.CurrentUser; string SubKeyPath = @"Software\Microsoft\Internet Explorer"; RegistryKey optionKey = regKey.OpenSubKey(SubKeyPath, true).CreateSubKey("PageSetup"); optionKey.SetValue("header", ""); optionKey.SetValue("footer", ""); optionKey.SetValue("margin_top", "0.0");// optionKey.SetValue("margin_bottom", "0.0");// optionKey.SetValue("margin_left", "0.10748");//4/ optionKey.SetValue("margin_right", "0.10748");//4 //optionKey.SetValue("margin_left", "0");//4/ //optionKey.SetValue("margin_right", "0");//4 optionKey.SetValue("Print_Background", "no"); //yes no optionKey.SetValue("Shrink_To_Fit", "yes"); //yes no 启用缩小字体填充
0 0
- C#操作注册表
- C#操作注册表
- C#中操作注册表
- C#操作注册表
- c#中操作注册表
- C#操作注册表
- C#操作注册表
- C#操作注册表
- c#操作注册表
- c# 操作注册表总结
- 基于C#操作注册表
- C#操作注册表
- C# 注册表操作类
- C#操作注册表
- C#操作注册表
- C#操作注册表(读写)
- C#操作注册表
- C# 2.0 操作注册表
- NP问题
- php trait 使用方法
- spring注解
- putty提示Network error:Software caused connection abort
- 实战服务器磁盘异常排查
- C# 操作注册表
- iOS - Categories&&Extensions (类别和扩展)
- Oracle 使用expdp将dmp文件导入本地
- 大型网站架构改进历程:存储的瓶颈(上)
- 自己保存一下,安卓常见异常
- Android中网络获取数据的方法
- linux上hadoop2.4.0安装配置
- Get Post put delete 详解
- 深度学习进阶线路图