Gma.QrCodeNet.Encoder/Windows/WPF/QrCodeGeoControl.cs
/// <summary>
/// This method is use to update QuietZone after use method SetQuietZoneModule
/// </summary>
This method is use to update QuietZone after use method SetQuietZoneModule
This method is use to update QuietZone after use method SetQuietZoneModule
internal void UpdatePadding()
        {
            if (m_isLocked)
                return;
            double length = ActualWidth < ActualHeight ? ActualWidth : ActualHeight;
            double moduleSize = length / (m_width + 2 * (int)QuietZoneModule);
            this.Padding = new Thickness(moduleSize * (int)QuietZoneModule);
        }
internal void UpdatePadding ( ) { if ( m_isLocked ) return ; double length = ActualWidth < ActualHeight ? ActualWidth : ActualHeight ; double moduleSize = length / ( m_width + 2 * ( int ) QuietZoneModule ) ; this . Padding = new Thickness ( moduleSize * ( int ) QuietZoneModule ) ; }
This method is use to update QuietZone after use method SetQuietZoneModule
This method is use to update QuietZone after use method SetQuietZoneModule