TQRCode.GetPngStream Method

Delphi Quricol

Quricol Library
ContentsIndexHome
PreviousUpNext
TQRCode.GetPngStream Method

Writes PNG image to the stream. Can be useful for web development

Syntax
Pascal
class procedure GetPngStream(Stream: TStream; const Text: string; Margin: integer = 4; PixelSize: integer = 3; Level: TErrorCorretion = QualityLow);
Parameters 
Description 
Stream: TStream 
The stream where image will be stored
 
const Text: string 
The text to encode
 
Margin: integer = 4 
The margin from the image 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.