Click or drag to resize

PdfUtilGetDocumentPdfPath(DocumentItem) Method

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

Namespace: Compiled.EDD.Scripting.Extensions.Pdf
Assembly: Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 9.0.0.0-142fa9725
Syntax
C#
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