# GetGraphic(Int32, Color, Color, Color, Bitmap, Double, Boolean, ArtQRCode.QuietZoneStyle, ArtQRCode.BackgroundImageStyle, Bitmap) Method Renders an art-style QR code with dots as modules and various user settings ## 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, Color backgroundColor, Bitmap backgroundImage = null, double pixelSizeFactor = 0,8, bool drawQuietZones = true, ArtQRCode.QuietZoneStyle quietZoneRenderingStyle = ArtQRCode.QuietZoneStyle.Dotted, ArtQRCode.BackgroundImageStyle backgroundImageStyle = ArtQRCode.BackgroundImageStyle.DataAreaOnly, Bitmap finderPatternImage = null ) ``` **C++** ``` C++ public: Bitmap^ GetGraphic( int pixelsPerModule, Color darkColor, Color lightColor, Color backgroundColor, Bitmap^ backgroundImage = nullptr, double pixelSizeFactor = 0,8, bool drawQuietZones = true, ArtQRCode.QuietZoneStyle quietZoneRenderingStyle = ArtQRCode.QuietZoneStyle::Dotted, ArtQRCode.BackgroundImageStyle backgroundImageStyle = ArtQRCode.BackgroundImageStyle::DataAreaOnly, Bitmap^ finderPatternImage = nullptr ) ``` #### Parameters
  Int32
Amount of px each dark/light module of the QR code shall take place in the final QR code image
  Color
Color of the dark modules
  Color
Color of the light modules
  Color
Color of the background
  Bitmap  (Optional)
A bitmap object that will be used as background picture
  Double  (Optional)
Value between 0.0 to 1.0 that defines how big the module dots are. The bigger the value, the less round the dots will be.
  Boolean  (Optional)
If true a white border is drawn around the whole QR Code
  ArtQRCode.QuietZoneStyle  (Optional)
Style of the quiet zones
  ArtQRCode.BackgroundImageStyle  (Optional)
Style of the background image (if set). Fill=spanning complete graphic; DataAreaOnly=Don't paint background into quietzone
  Bitmap  (Optional)
Optional image that should be used instead of the default finder patterns
#### Return Value Bitmap QRCode graphic as bitmap ## See Also #### Reference ArtQRCode Class GetGraphic Overload QRCoder.Core Namespace