|
-
Nov 17th, 2025, 10:42 PM
#1
Thread Starter
Addicted Member
Naming a PDF file?
I have a program in which I have created a PrintDocument object to print the form as PDF. Works just fine. Question: Is there some code I can add which will provide a default name for the pdf file that is created?
-
Nov 18th, 2025, 04:14 AM
#2
-
Nov 18th, 2025, 05:21 PM
#3
Re: Naming a PDF file?
You can specify the DocumentName Property which will suggest the filename that the document should be saved as.
But if you're talking about the title of the document, that is out of your control. The DocumentName may or may not set the PDF's title metadata, that is completely dependent on the driver if you're using Print As PDF.
-
Nov 18th, 2025, 05:46 PM
#4
Thread Starter
Addicted Member
Re: Naming a PDF file?
Thanks - after some more digging, I figured out that DocumentName is what I wanted.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|