joecool2005 Posted June 21, 2007 Share Posted June 21, 2007 Hi,When we do a right click on a pdf file, on the pdf tab, we can read the title, author, subject etc...Is it possible to get those information with C#?Thx Link to comment Share on other sites More sharing options...
aspnetguy Posted June 21, 2007 Share Posted June 21, 2007 you need to use FileInfohere is all the things you can get with it http://msdn2.microsoft.com/en-us/library/s...fo_members.aspx Link to comment Share on other sites More sharing options...
jesh Posted June 21, 2007 Share Posted June 21, 2007 you need to use FileInfohere is all the things you can get with it http://msdn2.microsoft.com/en-us/library/s...fo_members.aspx This is also part of the System.IO namespace that I talked about in your other post. Read that documentation on MSDN and do a search on Google for tutorials related to the File, FileInfo, DirectoryInfo, and Path classes of the System.IO namespace. Link to comment Share on other sites More sharing options...
joecool2005 Posted June 22, 2007 Author Share Posted June 22, 2007 Thx for your help.I'm able to extract those metadata with the FileInfonameExtensionSize CreateAccessUpdateBut if I want to extract the title, author, subject and keyword, how can I do it?Those properties don't belong to FileInfo.Thx Link to comment Share on other sites More sharing options...
aspnetguy Posted June 22, 2007 Share Posted June 22, 2007 does Windows even store that info about a file? Link to comment Share on other sites More sharing options...
joecool2005 Posted June 22, 2007 Author Share Posted June 22, 2007 I don't really understand your question.But, the pdf file has those info when you do a right and property. Link to comment Share on other sites More sharing options...
jesh Posted June 22, 2007 Share Posted June 22, 2007 Looks like this person wanted to do something similar and found the answer here:http://www.thescripts.com/forum/thread255748.html Link to comment Share on other sites More sharing options...
joecool2005 Posted June 22, 2007 Author Share Posted June 22, 2007 I already read that document.But their link on the post is broken Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.