Pdf.title/author/subject not working?

Hi,

I tried to change the title/author and some other properties of the PDF file:

pdf.BindFO(fodoc);

pdf.Title = "some title";

pdf.Author = "myself";

but in the result PDF file, the title is always "System.IO.MemoryStream", and author is always "Aspose", etc.

How do you change these properties?

thanks,

bill

Hello Bill,

I have tested the issue and have noticed the same problem. We are looking into the details of this matter and soon will update you with the status of correction.

We apologize for your inconvenienc

Hi, I get it work by set the metadata property.

thanks,

b

Can you give me the code?

@jithin.p

With the latest available version of Aspose.PDF for .NET, you can easily set Title, Author and Subject in PDF document properties. Please check below sample article(s) that contain code snippet for the same as well as for setting metadata:

In case you face any issues, please let us know.

Thanks. I will check and update you.

1 Like