Skip to content

M_QRCoder_Core_PdfByteQRCode_GetGraphic_1

Afonso Dutra Nogueira Filho edited this page Mar 28, 2024 · 2 revisions

GetGraphic(Int32, String, String, Int32, Int64) Method

Creates a PDF document with given colors DPI and quality

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#

public byte[] GetGraphic(
	int pixelsPerModule,
	string darkColorHtmlHex,
	string lightColorHtmlHex,
	int dpi = 150,
	long jpgQuality = 85
)

C++

public:
array<unsigned char>^ GetGraphic(
	int pixelsPerModule, 
	String^ darkColorHtmlHex, 
	String^ lightColorHtmlHex, 
	int dpi = 150, 
	long long jpgQuality = 85
)

Parameters

  Int32
\[Missing <param name="pixelsPerModule"/> documentation for "M:QRCoder.Core.PdfByteQRCode.GetGraphic(System.Int32,System.String,System.String,System.Int32,System.Int64)"\]
  String
\[Missing <param name="darkColorHtmlHex"/> documentation for "M:QRCoder.Core.PdfByteQRCode.GetGraphic(System.Int32,System.String,System.String,System.Int32,System.Int64)"\]
  String
\[Missing <param name="lightColorHtmlHex"/> documentation for "M:QRCoder.Core.PdfByteQRCode.GetGraphic(System.Int32,System.String,System.String,System.Int32,System.Int64)"\]
  Int32  (Optional)
\[Missing <param name="dpi"/> documentation for "M:QRCoder.Core.PdfByteQRCode.GetGraphic(System.Int32,System.String,System.String,System.Int32,System.Int64)"\]
  Int64  (Optional)
\[Missing <param name="jpgQuality"/> documentation for "M:QRCoder.Core.PdfByteQRCode.GetGraphic(System.Int32,System.String,System.String,System.Int32,System.Int64)"\]

Return Value

Byte[]
[Missing <returns> documentation for "M:QRCoder.Core.PdfByteQRCode.GetGraphic(System.Int32,System.String,System.String,System.Int32,System.Int64)"]

See Also

Reference

PdfByteQRCode Class
GetGraphic Overload
QRCoder.Core Namespace

Clone this wiki locally