Possible Duplicate:
$|\operatorname{Im}f(z)|\leq |\operatorname{Re}f(z)|$ then $f$ is constant
Let $f\colon\mathbb C \to \mathbb C$ be entire. Show that if $|\operatorname{Im}f(z)|\geqslant |\operatorname{Re}f(z)|$ for all $z \in \mathbb C$, then $f$ is constant on $\mathbb C$.
Can I answer this by considering the distance between $f(z)$ and $i$ like in this problem $|\operatorname{Im}f(z)|\leq |\operatorname{Re}f(z)|$ then $f$ is constant?