# GetQRCode(String, Int32, Byte[], Byte[], QRCodeGenerator.ECCLevel, Boolean, Boolean, QRCodeGenerator.EciMode, Int32, Boolean) Method
\[Missing <summary> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
## 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 static byte[] GetQRCode(
string plainText,
int pixelsPerModule,
byte[] darkColorRgba,
byte[] lightColorRgba,
QRCodeGenerator.ECCLevel eccLevel,
bool forceUtf8 = false,
bool utf8BOM = false,
QRCodeGenerator.EciMode eciMode = QRCodeGenerator.EciMode.Default,
int requestedVersion = -1,
bool drawQuietZones = true
)
```
**C++**
``` C++
public:
static array^ GetQRCode(
String^ plainText,
int pixelsPerModule,
array^ darkColorRgba,
array^ lightColorRgba,
QRCodeGenerator.ECCLevel eccLevel,
bool forceUtf8 = false,
bool utf8BOM = false,
QRCodeGenerator.EciMode eciMode = QRCodeGenerator.EciMode::Default,
int requestedVersion = -1,
bool drawQuietZones = true
)
```
#### Parameters
- String
- \[Missing <param name="plainText"/> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
- Int32
- \[Missing <param name="pixelsPerModule"/> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
- Byte[]
- \[Missing <param name="darkColorRgba"/> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
- Byte[]
- \[Missing <param name="lightColorRgba"/> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
- QRCodeGenerator.ECCLevel
- \[Missing <param name="eccLevel"/> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
- Boolean (Optional)
- \[Missing <param name="forceUtf8"/> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
- Boolean (Optional)
- \[Missing <param name="utf8BOM"/> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
- QRCodeGenerator.EciMode (Optional)
- \[Missing <param name="eciMode"/> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
- Int32 (Optional)
- \[Missing <param name="requestedVersion"/> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
- Boolean (Optional)
- \[Missing <param name="drawQuietZones"/> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
#### Return Value
Byte[]
\[Missing <returns> documentation for "M:QRCoder.Core.PngByteQRCodeHelper.GetQRCode(System.String,System.Int32,System.Byte[],System.Byte[],QRCoder.Core.QRCodeGenerator.ECCLevel,System.Boolean,System.Boolean,QRCoder.Core.QRCodeGenerator.EciMode,System.Int32,System.Boolean)"\]
## See Also
#### Reference
PngByteQRCodeHelper Class
GetQRCode Overload
QRCoder.Core Namespace