A altura deve ser maior ou igual a DrawingAttributes.MinHeight, e menor ou igual a DrawingAttribute.MaxHeight.