Custom document properties in exported pdf
Custom document properties in exported pdf
hi, is it possible to add custom document properties while exporting to pdf?
Re: Custom document properties in exported pdf
Hello.
To set PDF file properties you could use next report properties:
Also you could set next properties for all exported PDF files
or use StiPdfExportSettings to set these properties for each report:
Thank you.
To set PDF file properties you could use next report properties:
Code: Select all
Title - Report Name
Author - Report Author
Subject - Report Alias
Code: Select all
Stimulsoft.Report.StiOptions.Export.Pdf.CreatorString
Stimulsoft.Report.StiOptions.Export.Pdf.KeywordsString
Code: Select all
Stimulsoft.Report.Export.StiPdfExportSettings.CreatorString
Stimulsoft.Report.Export.StiPdfExportSettings.KeywordsString
Re: Custom document properties in exported pdf
actually i was thinking about these props http://helpx.adobe.com/acrobat/using/pd ... properties. having such possibility would be great. thank you.
Re: Custom document properties in exported pdf
Hello.
Unfortunately, it's impossible.
Please, send a request to support@stimulsoft.com.
After analyzing of our request we will write you if it's possible to implement.
Thank you.
Unfortunately, it's impossible.
Please, send a request to support@stimulsoft.com.
After analyzing of our request we will write you if it's possible to implement.
Thank you.
Re: Custom document properties in exported pdf
Hi,
I believe this functionality has been added in Reports.Ultimate 2015.1: http://www.stimulsoft.com/en/changes/reports-ultimate
"Export to PDF. Now you can add custom properties."
Can you please supply some sample code to show how to add custom properties when you export to pdf? I can't find any documentation for this new feature and after downloading 2015.1.18 (pre-release) I couldn't figure it out either.
Many thanks.
I believe this functionality has been added in Reports.Ultimate 2015.1: http://www.stimulsoft.com/en/changes/reports-ultimate
"Export to PDF. Now you can add custom properties."
Can you please supply some sample code to show how to add custom properties when you export to pdf? I can't find any documentation for this new feature and after downloading 2015.1.18 (pre-release) I couldn't figure it out either.
Many thanks.
Re: Custom document properties in exported pdf
Hello.
You should use MetaTags of the report. The name of the tag should start from "pdf:".
Next code shows how to add Meta Tags:
Thank you.
You should use MetaTags of the report. The name of the tag should start from "pdf:".
Next code shows how to add Meta Tags:
Code: Select all
report.MetaTags.Add(new StiMetaTag("pdf:Name1", "Value1"));
report.MetaTags.Add(new StiMetaTag("pdf:Name2", "Test"));
Re: Custom document properties in exported pdf
Great, this seems to work 
I'm sure it would be useful to others if you guys added this to your documentation somewhere.
Thanks very much!

I'm sure it would be useful to others if you guys added this to your documentation somewhere.
Thanks very much!
Re: Custom document properties in exported pdf
Sure, we will definitely add this to our documentation.
Thank you.
Thank you.