IPXC_Document::Info Property

From PDF XChange PDF SDK
Revision as of 05:19, 18 April 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Property Info of interface IPXC_Document returns Pointer to IPXC_DocumentInfo containing document information (creation/modification dates, info variable from the PDF structure).

Syntax

HRESULT get_Info([out, retval]  IPXC_DocumentInfo**  pDocInfo);

Sample

//C#
private void ReadDocInfo(PDFXEdit.IPXC_Document Doc)
{
	string sTitle = Doc.Info[PDFXEdit.PXC_DocumentInfoKey.DocInfo_Title];
	string sAuthor = Doc.Info[PDFXEdit.PXC_DocumentInfoKey.DocInfo_Author];
	string sProducer = Doc.Info[PDFXEdit.PXC_DocumentInfoKey.DocInfo_Producer];
	string sCreator = Doc.Info[PDFXEdit.PXC_DocumentInfoKey.DocInfo_Creator];
	string sSubj = Doc.Info[PDFXEdit.PXC_DocumentInfoKey.DocInfo_Subject];
	string sKeyw = Doc.Info[PDFXEdit.PXC_DocumentInfoKey.DocInfo_Keywords];
}

See Also

IPXC_Document