Table of Contents

Method FromFile

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

FromFile(string)

Creates an image from the specified file.

public static XImage FromFile(string path)

Parameters

path string

The path to a BMP, PNG, JPEG, or PDF file.

Returns

XImage