# PngByteQRCode Class PngByteQRCode ## 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 sealed class PngByteQRCode : AbstractQRCode ``` **C++** ``` C++ public ref class PngByteQRCode sealed : public AbstractQRCode ```
InheritanceObjectAbstractQRCode → PngByteQRCode
## Constructors
PngByteQRCode() Constructor without params to be used in COM Objects connections
PngByteQRCode(QRCodeData) Initializes a new instance of the PngByteQRCode class
## Methods
Dispose() Dispose
(Inherited from AbstractQRCode)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetGraphic(Int32, Boolean) Creates a black white PNG of the QR code, using 1-bit grayscale.
GetGraphic(Int32, Byte[], Byte[], Boolean) Creates 2-color PNG of the QR code, using 1-bit indexed color. Accepts 3-byte RGB colors for normal images and 4-byte RGBA-colors for transparent images.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
SetQRCodeData Set a QRCodeData object that will be used to generate QR code. Used in COM Objects connections
(Inherited from AbstractQRCode)
ToString Returns a string that represents the current object.
(Inherited from Object)
## See Also #### Reference QRCoder.Core Namespace