XFINIUM.PDF Documentation
PdfPngImage Constructor(Stream,Boolean)



Xfinium.Pdf.Graphics Namespace > PdfPngImage Class > PdfPngImage Constructor : PdfPngImage Constructor(Stream,Boolean)
PNG stream.
Performs fast PNG to PDF conversion for RGB only PNG images
Initializes a new PdfPngImage object.
Syntax
'Declaration
 
Public Function New( _
   ByVal stream As Stream, _
   ByVal fastRgbConversion As Boolean _
)
'Usage
 
Dim stream As Stream
Dim fastRgbConversion As Boolean
 
Dim instance As New PdfPngImage(stream, fastRgbConversion)
public PdfPngImage( 
   Stream stream,
   bool fastRgbConversion
)
public:
PdfPngImage( 
   Stream^ stream,
   bool fastRgbConversion
)

Parameters

stream
PNG stream.
fastRgbConversion
Performs fast PNG to PDF conversion for RGB only PNG images
Remarks
When fastRgbConversion parameter is true, the zip compressed RGB image data in the PNG image is simply transfered to the PDF file as it is.
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

PdfPngImage Class
PdfPngImage Members
Overload List