Creates PdfImage from a file.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
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.