# GetGraphic(Int32, Color, Color, Bitmap, Int32, Int32, Boolean, Nullable<Color>) Method \[Missing <summary> documentation for "M:QRCoder.Core.QRCode.GetGraphic(System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Bitmap,System.Int32,System.Int32,System.Boolean,System.Nullable{System.Drawing.Color})"\] ## Definition **Namespace:** QRCoder.Core **Assembly:** QRCoder.Core (in QRCoder.Core.dll) Version: 1.0.2+100b048b01076590efe500a3be242a5faeb43294 **XMLNS for XAML:** Not mapped to an xmlns. **C#** ``` C# public Bitmap GetGraphic( int pixelsPerModule, Color darkColor, Color lightColor, Bitmap icon = null, int iconSizePercent = 15, int iconBorderWidth = 0, bool drawQuietZones = true, Color? iconBackgroundColor = null ) ``` **C++** ``` C++ public: Bitmap^ GetGraphic( int pixelsPerModule, Color darkColor, Color lightColor, Bitmap^ icon = nullptr, int iconSizePercent = 15, int iconBorderWidth = 0, bool drawQuietZones = true, Nullable iconBackgroundColor = nullptr ) ``` #### Parameters
  Int32
\[Missing <param name="pixelsPerModule"/> documentation for "M:QRCoder.Core.QRCode.GetGraphic(System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Bitmap,System.Int32,System.Int32,System.Boolean,System.Nullable{System.Drawing.Color})"\]
  Color
\[Missing <param name="darkColor"/> documentation for "M:QRCoder.Core.QRCode.GetGraphic(System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Bitmap,System.Int32,System.Int32,System.Boolean,System.Nullable{System.Drawing.Color})"\]
  Color
\[Missing <param name="lightColor"/> documentation for "M:QRCoder.Core.QRCode.GetGraphic(System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Bitmap,System.Int32,System.Int32,System.Boolean,System.Nullable{System.Drawing.Color})"\]
  Bitmap  (Optional)
\[Missing <param name="icon"/> documentation for "M:QRCoder.Core.QRCode.GetGraphic(System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Bitmap,System.Int32,System.Int32,System.Boolean,System.Nullable{System.Drawing.Color})"\]
  Int32  (Optional)
\[Missing <param name="iconSizePercent"/> documentation for "M:QRCoder.Core.QRCode.GetGraphic(System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Bitmap,System.Int32,System.Int32,System.Boolean,System.Nullable{System.Drawing.Color})"\]
  Int32  (Optional)
\[Missing <param name="iconBorderWidth"/> documentation for "M:QRCoder.Core.QRCode.GetGraphic(System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Bitmap,System.Int32,System.Int32,System.Boolean,System.Nullable{System.Drawing.Color})"\]
  Boolean  (Optional)
\[Missing <param name="drawQuietZones"/> documentation for "M:QRCoder.Core.QRCode.GetGraphic(System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Bitmap,System.Int32,System.Int32,System.Boolean,System.Nullable{System.Drawing.Color})"\]
  Nullable(Color)  (Optional)
\[Missing <param name="iconBackgroundColor"/> documentation for "M:QRCoder.Core.QRCode.GetGraphic(System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Bitmap,System.Int32,System.Int32,System.Boolean,System.Nullable{System.Drawing.Color})"\]
#### Return Value Bitmap \[Missing <returns> documentation for "M:QRCoder.Core.QRCode.GetGraphic(System.Int32,System.Drawing.Color,System.Drawing.Color,System.Drawing.Bitmap,System.Int32,System.Int32,System.Boolean,System.Nullable{System.Drawing.Color})"\] ## See Also #### Reference QRCode Class GetGraphic Overload QRCoder.Core Namespace