src/runtimes/netf/Azos.WinForms/Elements/ElementHostControl.cs
/// <summary>
/// Updates zoom value without invalidation of the whole control, returns true if invalidation is needed(value changed)
/// </summary>
Updates zoom value without invalidation of the whole control, returns true if invalidation is needed(value changed)
Updates zoom value without invalidation of the whole control returns true if invalidation is needed ( value changed )
public bool UpdateZoom(float value)
      {
         if (value<=MIN_ZOOM) value = MIN_ZOOM;
          if (m_Zoom!=value)
          {
            m_Zoom = value;
            return true;
          }
          return false;
      }
public bool UpdateZoom ( float value ) { if ( value <= MIN_ZOOM ) value = MIN_ZOOM ; if ( m_Zoom != value ) { m_Zoom = value ; return true ; } return false ; }
Updates zoom value without invalidation of the whole control, returns true if invalidation is needed(value changed)
Updates zoom value without invalidation of the whole control returns true if invalidation is needed ( value changed )
value
float