Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

FileSpecification from stream - Modified is Unknown

$
0
0
Hi,
We have the issue while adding attachment into a PDF file by using FileSpecification with stream.
using (System.IO.Stream ms = ...)
{
   pdf.EmbeddedFiles.Add(new FileSpecification(ms, file.ID));
}
The Modified date for the attachments added by this way is Unknown. Check attached image.
The problem is that we have this information and willing to update it. But 

FileSpecification->FileParams.ModDate is the ReadOnly property.

How can we specify CreationDate, ModDate if we use FileSpecification stream constructor?

Viewing all articles
Browse latest Browse all 3131

Trending Articles