| Accusoft.ImagXpressSdk Namespace > ImageReduce Class > PngReduce Method : PngReduce(ImagXpress,String,String) Method |
'Declaration Public Overloads Shared Sub PngReduce( _ ByVal imagXpress As ImagXpress, _ ByVal inputFileName As String, _ ByVal outputFileName As String _ )
'Usage Dim imagXpress As ImagXpress Dim inputFileName As String Dim outputFileName As String ImageReduce.PngReduce(imagXpress, inputFileName, outputFileName)
public static void PngReduce( ImagXpress imagXpress, string inputFileName, string outputFileName )
public: static void PngReduce( ImagXpress* imagXpress, string* inputFileName, string* outputFileName )
public: static void PngReduce( ImagXpress^ imagXpress, String^ inputFileName, String^ outputFileName )
| Exception | Description |
|---|---|
| System.ArgumentNullException | Thrown when imagXpress is null. |
| System.ArgumentNullException | Thrown when inputFileName is null. |
| System.ArgumentNullException | Thrown when outputFileName is null. |
| System.IO.FileNotFoundException | Thrown when inputFileName does not exist. |
| System.ArgumentException | Thrown when inputFileName is an HTTP or FTP URL. |
| System.ArgumentException | Thrown when outputFileName is an HTTP or FTP URL. |
| ImagXpressException | Thrown when imagXpress is not licensed for this feature. |
| ImagXpressException | Thrown when inputFileName refers to a damaged or incomplete PNG. |
| System.UnauthorizedAccessException | Thrown when outputFileName cannot be created or modified. |