コード例 #1
0
ファイル: QRImage.cs プロジェクト: mehdiSuperDev/QRCode-1
        /// <summary>
        /// Initializes a new instance of the <see cref="QrImage"/> class.
        /// </summary>
        /// <param name="codeVersion">
        /// The version.
        /// </param>
        /// <param name="codeMask">
        /// The mask.
        /// </param>
        /// <param name="codeBreakPoint">
        /// The breakpoint to stop image generation.
        /// </param>
        public QrImage(QrVersion codeVersion, QrMask codeMask, QrBreakPoint codeBreakPoint)
        {
            this.debugData = new StringBuilder();

            this.breakPoint = codeBreakPoint;

            this.version = codeVersion;
            this.mask    = codeMask;

            this.Initialize();
        }
コード例 #2
0
ファイル: QRCodeCreator.cs プロジェクト: Legoless/QRCode
 /// <summary>
 /// Set debug mode breakpoint.
 /// </summary>
 /// <param name="breakPointSet">
 /// The break point.
 /// </param>
 public void SetDebugMode(QrBreakPoint breakPointSet)
 {
     this.breakPoint = breakPointSet;
     this.debugData = new StringBuilder();
 }
コード例 #3
0
ファイル: QRImage.cs プロジェクト: Legoless/QRCode
        /// <summary>
        /// Initializes a new instance of the <see cref="QrImage"/> class.
        /// </summary>
        /// <param name="codeVersion">
        /// The version.
        /// </param>
        /// <param name="codeMask">
        /// The mask.
        /// </param>
        /// <param name="codeBreakPoint">
        /// The breakpoint to stop image generation.
        /// </param>
        public QrImage(QrVersion codeVersion, QrMask codeMask, QrBreakPoint codeBreakPoint)
        {
            this.debugData = new StringBuilder();

            this.breakPoint = codeBreakPoint;

            this.version = codeVersion;
            this.mask = codeMask;

            this.Initialize();
        }
コード例 #4
0
 /// <summary>
 /// Set debug mode breakpoint.
 /// </summary>
 /// <param name="breakPointSet">
 /// The break point.
 /// </param>
 public void SetDebugMode(QrBreakPoint breakPointSet)
 {
     this.breakPoint = breakPointSet;
     this.debugData  = new StringBuilder();
 }