i) First of all, the Dirac quantization rule
$$\tag{1} \frac{qg}{2\pi\hbar} ~\in~ \mathbb{Z} $$
for magnetic monopoles can be generalized to the Dirac-Zwanziger-Schwinger quantization condition
$$\tag{2} \frac{q_1g_2-q_2g_1}{2\pi\hbar} ~\in~ \mathbb{Z} $$
for dyons. (In a slight misuse of terminology, we shall in the following also include purely electrically charged particles and pure magnetic monopoles into the definition of dyons.)
II) Let $\Gamma=\{(q,g)\}$ denote the set of electric and magnetic charges for dyons. It is natural to think of $\Gamma$ as a subset of the plane $\mathbb{R}^2$. The left-hand side of (2) has a geometric meaning as a signed area spanned by two vectors $(q_1,g_1)$ and $(q_2,g_2)$.
III) Now assume that $\Gamma\backslash\{(0,0)\} $ is non-empty, i.e. there exists a dyon $(q_1,g_1)\neq(0,0)$ to begin with. What points $(q_2,g_2)\in\Gamma$ of $\mathbb{R}^2$ would not conflict with condition (2)? The answer is a set of equidistant discrete lines parallel to the vector $(q_1,g_1)$.
IV) Now assume that $\Gamma$ contains at least two linearly independent vectors $(q_1,g_1)$ and $(q_2,g_2)$. What points $(q_3,g_3)\in\Gamma$ of $\mathbb{R}^2$ would not conflict with condition (2)? The answer is a discrete grid/lattice of intersection points, namely precisely where the corresponding two sets of equidistant discrete parallel lines from section III meet. In other words, the charges are quantized.
V) As a special case, if there exist at least one purely electrically charged particle and at least one pure magnetic monopole, we are in the situation described in section IV, and hence the charges must be quantized.