Version

Image Constructor(Image,Boolean)

Initializes a new instance of the Image class.
Syntax
'Declaration
 
Public Function New( _
   ByVal image As Image, _
   ByVal enablePixelTransparency As Boolean _
)
public Image( 
   Image image,
   bool enablePixelTransparency
)

Parameters

image
A System.Drawing.Image used to initialize the instance.
enablePixelTransparency
Enables per-pixel transparency, using the alpha channel information to create a soft mask in the PDF document.
Remarks

Additional method to support per-pixel transparency, by using the alpha channel to create a Soft Mask in the generated PDF document, as per section 11.5 of the PDF specification. In XPS, the alpha channel is now also considered to embed a PNG-encoded representation of the image.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also