IPXC_Document::Info Property

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
{{#customTitle:IPXC_Document::Info Property}}
 
{{#customTitle:IPXC_Document::Info Property}}
 
{{#parentPage:PXV:IPXC_Document#Properties|Info|property}}
 
{{#parentPage:PXV:IPXC_Document#Properties|Info|property}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
Property '''Info''' of interface [[PXV:IPXC_Document|IPXC_Document]] returns  Pointer to [[PXV:IPXC_DocumentInfo|IPXC_DocumentInfo]] ...
+
Property '''Info''' of interface [[PXV:IPXC_Document|IPXC_Document]] returns  Pointer to [[PXV:IPXC_DocumentInfo|IPXC_DocumentInfo]] containing document information (creation/modification dates, info variable from the PDF structure).
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT get_Info([out, retval]  IPXC_DocumentInfo**  ppDocInfo);
+
<pre class="brush:cpp;gutter:false">HRESULT get_Info([out, retval]  IPXC_DocumentInfo**  pDocInfo);
 +
</pre>
 +
 
 +
== Sample ==
 +
<pre class="brush:c#">//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];
 +
}
 
</pre>
 
</pre>
  
 
== See Also ==
 
== See Also ==
 
[[PXV:IPXC_Document|IPXC_Document]]
 
[[PXV:IPXC_Document|IPXC_Document]]

Latest revision as of 04:19, 18 April 2016


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