Search Results for

    Show / Hide Table of Contents

    Class QRCodeEncoder

    Inheritance
    object
    QRCodeEncoder
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing
    Assembly: Reportman.Reporting.dll
    Syntax
    public class QRCodeEncoder

    Constructors

    QRCodeEncoder()

    Constructor

    Declaration
    public QRCodeEncoder()

    Properties

    QRCodeBackgroundColor

    Declaration
    public virtual Color QRCodeBackgroundColor { get; set; }
    Property Value
    Type Description
    Color

    QRCodeEncodeMode

    Declaration
    public virtual QRCodeEncoder.ENCODE_MODE QRCodeEncodeMode { get; set; }
    Property Value
    Type Description
    QRCodeEncoder.ENCODE_MODE

    QRCodeErrorCorrect

    Declaration
    public virtual QRCodeEncoder.ERROR_CORRECTION QRCodeErrorCorrect { get; set; }
    Property Value
    Type Description
    QRCodeEncoder.ERROR_CORRECTION

    QRCodeForegroundColor

    Declaration
    public virtual Color QRCodeForegroundColor { get; set; }
    Property Value
    Type Description
    Color

    QRCodeScale

    Declaration
    public virtual int QRCodeScale { get; set; }
    Property Value
    Type Description
    int

    QRCodeVersion

    Declaration
    public virtual int QRCodeVersion { get; set; }
    Property Value
    Type Description
    int

    Methods

    AsciiStringToByteArray(string)

    Declaration
    public static byte[] AsciiStringToByteArray(string str)
    Parameters
    Type Name Description
    string str
    Returns
    Type Description
    byte[]

    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
    Type Name Description
    MetaFile metafile
    int posx
    int posy
    int modul
    string content
    Encoding encoding

    FromASCIIByteArray(byte[])

    Declaration
    public static string FromASCIIByteArray(byte[] characters)
    Parameters
    Type Name Description
    byte[] characters
    Returns
    Type Description
    string

    FromUnicodeByteArray(byte[])

    Declaration
    public static string FromUnicodeByteArray(byte[] characters)
    Parameters
    Type Name Description
    byte[] characters
    Returns
    Type Description
    string

    IsUniCode(string)

    Declaration
    public static bool IsUniCode(string value)
    Parameters
    Type Name Description
    string value
    Returns
    Type Description
    bool

    ReadInput(Stream, sbyte[], int, int)

    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
    Type Description
    byte[]

    WriteStackTrace(Exception, TextWriter)

    Declaration
    public static void WriteStackTrace(Exception throwable, TextWriter stream)
    Parameters
    Type Name Description
    Exception throwable
    TextWriter stream

    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
    Type Description
    int

    setStructureappend(int, int, int)

    Declaration
    public virtual void setStructureappend(int m, int n, int p)
    Parameters
    Type Name Description
    int m
    int n
    int p
    In this article
    Back to top Generated by DocFX