Properties of generated PDF

Stimulsoft Reports.NET discussion
Post Reply
yoyo
Posts: 15
Joined: Tue Dec 13, 2011 9:58 am
Location: Bratislava

Properties of generated PDF

Post by yoyo »

Hello.

It is possible to set some attributes to file properties. I thing, that generated PDF file can contains properties, that I set before generating.
For example settings of PDF file properties like Title, Author, Subject, Keyword etc...

Please, reply me, how I can set this.
Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Properties of generated PDF

Post by HighAley »

Hello.
yoyo wrote:It is possible to set some attributes to file properties. I thing, that generated PDF file can contains properties, that I set before generating.
For example settings of PDF file properties like Title, Author, Subject, Keyword etc...

Please, reply me, how I can set this.
To set PDF file properties you could use next report properties:

Code: Select all

Title - Report Name
Author - Report Author
Subject - Report Alias
Also you could set next properties for all exported PDF files

Code: Select all

Stimulsoft.Report.StiOptions.Export.Pdf.CreatorString
Stimulsoft.Report.StiOptions.Export.Pdf.KeywordsString
or use StiPdfExportSettings to set these properties for each report:

Code: Select all

Stimulsoft.Report.Export.StiPdfExportSettings.CreatorString
Stimulsoft.Report.Export.StiPdfExportSettings.KeywordsString
Thank you.
Post Reply