Set the maximum image height (if set).

@param int|null $maxHeight
508258
public function setMaxHeight($maxHeight)
    {
        $maxHeight = (int) $maxHeight;
        $this->maxHeight = $maxHeight > 0 ? $maxHeight : null;
    }
492888
public function getMetaImageResizeHeight($height = null)
    {
        if ($height) {
            return $height;
        }
        
        if ($height = $this->owner->ImageMetaResizeHeight) {
            return $height;
        }
        
        return $this->owner->getFieldFromParent('DefaultImageResizeHeight');
    }
955767
public function setHeight($height)
    {
        if (is_int($height) === true) {
            $this->height = $height;
        } else {
            $msg = "The 'height' argument must be an integer, '" . gettype($height) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
974017
public function setAllowedMaxHeight(float $allowed_max_height) {
        if(!$this->setModified('allowed_max_height', $allowed_max_height)->isModified()) {
            return $this;
        }
		$this->allowed_max_height = $allowed_max_height;
		return $this;
    }
1033707
public function filterMaxHeight($height)
    {
        return $this->filter(
            function ($key, $value) use ($height) {
                if ($value instanceof ImageFilter &&
                    $value->getHeight() <= $height && $value->getHeight() !== null
                ) {
                    return true;
                }
            }
        );
    }
748405
public function setAllowedMinHeight(float $allowed_min_height) {
        if(!$this->setModified('allowed_min_height', $allowed_min_height)->isModified()) {
            return $this;
        }
		$this->allowed_min_height = $allowed_min_height;
		return $this;
    }
1038061
function secondaryToolbarSetMaxHeight(container) {
    if (!container || !this.buttonContainer) {
      return;
    }
    this.newContainerHeight = container.clientHeight;
    if (this.previousContainerHeight === this.newContainerHeight) {
      return;
    }
    this.buttonContainer.setAttribute('style',
      'max-height: ' + (this.newContainerHeight - SCROLLBAR_PADDING) + 'px;');
    this.previousContainerHeight = this.newContainerHeight;
  }
958085
public function setHeight( int $height ) : ImageSizeReducer
   {

      if ( $height <= 0 )
      {
         throw new ArgumentError( 'height', $height, 'Drawing.Image', 'Can not crop an image with an empty height!' );
      }

      $this->data[ 'height' ] = \intval( $height );

      return $this;

   }
996673
public function setMax($max)
    {
        if (is_numeric($max) || Format::isVariableRef($max)) {
            $this->max = $max;
        } else {
            $msg = "'Max must be a numeric value or a variableRef, '" . gettype($max) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
1367480
@Nonnull
  public FineUploader5Validation setImageMaxHeight (@Nonnegative final int nImageMaxHeight)
  {
    ValueEnforcer.isGE0 (nImageMaxHeight, "ImageMaxHeight");
    m_nValidationImageMaxHeight = nImageMaxHeight;
    return this;
  }
936113
public function setThumbHeight(int $thumbHeight)
    {
        if ($thumbHeight == 0) { $thumbHeight = 150; }
        $properties                 = $this->getProperties();
        $properties['thumbHeight']  = $thumbHeight;
        $this->setProperties($properties);
        return $this;
    }
884922
public function setHeight($height)
    {
        if (!is_numeric($height)) {
            throw new \LogicException('Box height is NaN!');
        }

        $this->height = (int) $height;

        return $this;
    }
757399
def setMinimumHeight(self, height):
        
        super(XView, self).setMinimumHeight(height)
        
        if ( not self.signalsBlocked() ):
            self.sizeConstraintChanged.emit()
1113951
public function maxSize($maxWidth = null, $maxHeight = null) {
        $params = array();

        if ($maxWidth) {
            $params[] = 'width=' . (int) $maxWidth;
        }

        if ($maxHeight) {
            $params[] = 'height=' . (int) $maxHeight;
        }

        if (!$params) {
            throw new InvalidArgumentException('width and/or height must be specified');
        }

        return $this->addTransformation(sprintf('maxSize:%s', implode(',', $params)));
    }
1170330
public function setHeight($height)
    {
        if (!is_null($height)) {
            if (intval($height) < 0) {
                throw new \InvalidArgumentException(sprintf('Invalid height: %d', $height));
            }

            $this->height = $height;
        } else {
            $this->height = null;
        }

        return $this;
    }
68810
public function setImageMaxHeight($v)
    {
        if ($v !== null) {
            $v = (double) $v;
        }

        if ($this->image_max_height !== $v) {
            $this->image_max_height = $v;
            $this->modifiedColumns[AttributeTypeTableMap::IMAGE_MAX_HEIGHT] = true;
        }


        return $this;
    }
902183
public function setHeight(int $height) {
        if(!$this->setModified('height', $height)->isModified()) {
            return $this;
        }
		$this->height = $height;
		return $this;
    }