XFINIUM.PDF Documentation
Load(String) Method



Xfinium.Pdf.Graphics Namespace > PdfImage Class > Load Method : Load(String) Method
Path to image file.
Loads an image from the given file.
Syntax
'Declaration
 
Public Overloads Shared Function Load( _
   ByVal fileName As String _
) As PdfImage
'Usage
 
Dim fileName As String
Dim value As PdfImage
 
value = PdfImage.Load(fileName)
public static PdfImage Load( 
   string fileName
)
public:
static PdfImage^ Load( 
   String^ fileName
) 

Parameters

fileName
Path to image file.

Return Value

A specific PdfImage object.
Remarks
Supported image types are JPEG, PNG, GIF, TIFF, JPEG2000
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfImage Class
PdfImage Members
Overload List