Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfDocumentSource.FromFile(String) Method

Loads a PDF file by its path.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

#Declaration

C#
public static PdfDocumentSource FromFile(
    string path
)

#Parameters

Name Type Description
path String

A PDF file’s path.

#Returns

Type Description
PdfDocumentSource

A source object that contains a PDF file.

See Also