Class QRCodeEncoder
Inheritance
QRCodeEncoder
Assembly: Reportman.Reporting.dll
Syntax
public class QRCodeEncoder
Constructors
QRCodeEncoder()
Declaration
Properties
QRCodeBackgroundColor
Declaration
public virtual Color QRCodeBackgroundColor { get; set; }
Property Value
QRCodeEncodeMode
Declaration
public virtual QRCodeEncoder.ENCODE_MODE QRCodeEncodeMode { get; set; }
Property Value
QRCodeErrorCorrect
Declaration
public virtual QRCodeEncoder.ERROR_CORRECTION QRCodeErrorCorrect { get; set; }
Property Value
QRCodeForegroundColor
Declaration
public virtual Color QRCodeForegroundColor { get; set; }
Property Value
QRCodeScale
Declaration
public virtual int QRCodeScale { get; set; }
Property Value
QRCodeVersion
Declaration
public virtual int QRCodeVersion { get; set; }
Property Value
Methods
AsciiStringToByteArray(string)
Declaration
public static byte[] AsciiStringToByteArray(string str)
Parameters
| Type |
Name |
Description |
| string |
str |
|
Returns
EncodeInMetafile(MetaFile, int, int, int, string, Encoding)
Encode the content using the encoding scheme given
Declaration
public virtual void EncodeInMetafile(MetaFile metafile, int posx, int posy, int modul, string content, Encoding encoding)
Parameters
FromASCIIByteArray(byte[])
Declaration
public static string FromASCIIByteArray(byte[] characters)
Parameters
| Type |
Name |
Description |
| byte[] |
characters |
|
Returns
FromUnicodeByteArray(byte[])
Declaration
public static string FromUnicodeByteArray(byte[] characters)
Parameters
| Type |
Name |
Description |
| byte[] |
characters |
|
Returns
IsUniCode(string)
Declaration
public static bool IsUniCode(string value)
Parameters
| Type |
Name |
Description |
| string |
value |
|
Returns
Reads a number of characters from the current source Stream and writes the data to the target array at the specified index.
Declaration
public static int ReadInput(Stream sourceStream, sbyte[] target, int start, int count)
Parameters
| Type |
Name |
Description |
| Stream |
sourceStream |
The source Stream to read from.
|
| sbyte[] |
target |
Contains the array of characteres read from the source Stream.
|
| int |
start |
The starting index of the target array.
|
| int |
count |
The maximum number of characters to read from the source Stream.
|
Returns
| Type |
Description |
| int |
The number of characters read. The number will be less than or equal to count depending on the data available in the source Stream. Returns -1 if the end of the stream is reached.
|
URShift(int, int)
Performs an unsigned bitwise right shift with the specified number
Declaration
public static int URShift(int number, int bits)
Parameters
| Type |
Name |
Description |
| int |
number |
Number to operate on
|
| int |
bits |
Ammount of bits to shift
|
Returns
| Type |
Description |
| int |
The resulting number from the shift operation
|
UnicodeStringToByteArray(string)
Declaration
public static byte[] UnicodeStringToByteArray(string str)
Parameters
| Type |
Name |
Description |
| string |
str |
|
Returns
WriteStackTrace(Exception, TextWriter)
Declaration
public static void WriteStackTrace(Exception throwable, TextWriter stream)
Parameters
calQrcode(byte[])
Declaration
public virtual bool[][] calQrcode(byte[] qrcodeData)
Parameters
| Type |
Name |
Description |
| byte[] |
qrcodeData |
|
Returns
| Type |
Description |
| bool[][] |
|
calStructureappendParity(sbyte[])
Declaration
public virtual int calStructureappendParity(sbyte[] originaldata)
Parameters
| Type |
Name |
Description |
| sbyte[] |
originaldata |
|
Returns
setStructureappend(int, int, int)
Declaration
public virtual void setStructureappend(int m, int n, int p)
Parameters