TQRCode.GeneratePngFile Method

Delphi Quricol

Quricol Library
ContentsIndexHome
PreviousUpNext
TQRCode.GeneratePngFile Method

Generates PNG file with the text encoded as QR code

Syntax
Pascal
class procedure GeneratePngFile(const FileName: string; const Text: string; Margin: integer = 4; PixelSize: integer = 3; Level: TErrorCorretion = QualityLow);
Parameters 
Description 
const FileName: string 
The name of the png file
 
const Text: string 
The text to encode
 
Margin: integer = 4 
The margin from the border
 
PixelSize: integer = 3 
The size of the one image point. 
Level: TErrorCorretion = QualityLow 
The error correction level 
Copyright (c) Serhiy Perevoznyk, 2012. All rights reserved.