Creates PdfImage from a file.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public static PdfImage FromFile(
string path
)
Public Shared Function FromFile (
path As String
) As PdfImage
public:
static PdfImage^ FromFile(
String^ path
)
static member FromFile :
path : string -> PdfImage
Parameters
-
path
-
Type:
System
String
Path to a file.
Return Value
Type:
PdfImage
Returns a created PdfImage object.
See Also