Creates PdfImage from a file.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
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
- String
Path to a file.
Return Value
PdfImageReturns a created PdfImage object.