<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=6889170&amp;fmt=gif">
Skip to content
  • There are no suggestions because the search field is empty.

Methods | PdfUtil.GetDocumentPdfPath(DocumentItem) Method

Gets a path to the PDF file if the document has a PDF loaded as an image or a native link.

Syntax

C# Copy
public static string GetDocumentPdfPath(
	DocumentItem document
)

Parameters
document    DocumentItem
            The document to get the PDF file path from.

Return Value
String
The PDF file path found on the DocumentItem.

Remarks
Checks for a PDF image source first, and returns that PDF path. If no image, then checks for a native PDF path.

See Also

Reference
PdfUtil Class
GetDocumentPdfPath Overload
Compiled.EDD.Scripting.Extensions.Pdf Namespace