Gets an instance of an Image from a System.Drwaing.Image.
Namespace: iTextSharp.textAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public static Image GetInstance( Image image, Color color, bool forceBW ) |
Visual Basic |
---|
Public Shared Function GetInstance ( _ image As Image, _ color As Color, _ forceBW As Boolean _ ) As Image |
Visual C++ |
---|
public: static Image^ GetInstance( Image^ image, Color^ color, bool forceBW ) |
Parameters
- image
- Type: System.Drawing..::..Image
the System.Drawing.Image to convert
- color
- Type: iTextSharp.text..::..Color
if different from null the transparency pixels are replaced by this color
- forceBW
- Type: System..::..Boolean
if true the image is treated as black and white