Stephen Lebans PDF代码 - 设置我自己的文件夹以保存文件 [英] Stephen Lebans PDF code - set my own folder for saving the file

查看:73
本文介绍了Stephen Lebans PDF代码 - 设置我自己的文件夹以保存文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在使用Stephen Lebans代码创建pdf文件,效果很好。目前,如果将ShowSaveFileDialog设置为False,则该文件将自动保存在MyDocuments中。夹。我希望它能自动保存在我预定义的文件夹中。如果有人知道如何做到这一点,请告诉我,有太多的代码,我一直在迷失自己..

Hello,
I''m using Stephen Lebans code to create pdf file and it works great. Currently, if ShowSaveFileDialog is set to False, the file is automatically saved in "MyDocuments" folder. I want it to be automatically saved in a folder that i predefined. If someone knows how to do that, please tell me, there''s so much code that i keep losing myself in it..

推荐答案

指定文件夹的位置,添加你的。如果你有相关的代码,并且可以说出你喜欢使用的价值,我会看到我的建议。
Where the folder is specified, add yours in instead. If you have the relevant code, and can say where the value is that you''d prefer to use, I''ll see what I can suggest.


*我的意思是'失去''当然

你总是第一个回答我的多线程的人:)

嗯,这就是整个问题,我在代码中找不到文件夹的确切位置..我会发布代码,但它真的很长(主要是解释)。我可以将它作为文本文件附加吗?
*i meant ''losing'' of course
You are always the first one to answer my multiple threads:)
Well that''s the whole problem, i can''t find in code where exactly the folder is being set.. i would post the code, but it''s really really long (mostly explanations). Can i maybe attach it as a text file?


我真的不想要所有的代码。我只想要与保存文件相关的代码,以及可能与设置默认文件位置相关的任何相关代码。


如果您无法识别,然后你可以将它全部发布,因为CODE标签确保任何时候只显示一页左右。这样我们也可以在必要时提及行号。
I don''t really want all the code. I just want the code that is related to saving your file away, and any related code that may pertain to setting a default file location of course.

If you are unable to identify that, then you can post it all anyway, as the CODE tags ensure only one page or so is shown at any time. That way we also have line numbers to refer to later if necessary.


这篇关于Stephen Lebans PDF代码 - 设置我自己的文件夹以保存文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆