Exemplo n.º 1
0
        /// <summary>
        /// Resize the element.
        /// </summary>
        /// <param name="width"> The width to set. </param>
        /// <param name="height"> The height to set. </param>
        public void Resize(int width, int height)
        {
            if (_pattern.CurrentCanResize != 1)
            {
                return;
            }

            _pattern.Resize(width, height);
        }
 public bool Resize(int width, int height)
 {
     if (_transformPattern == null)
     {
         return(false);
     }
     _transformPattern.Resize(width, height);
     return(true);
 }