The authors formulate a general equation for the interaction of light in the planar surface-acoustic-wave lightguide and obtain a solution of this equation which determines the intensity of light in all possible modes and diffraction orders. They show an analogy between the diffraction of light in a multi-mode lightguide and in an anisotropic medium.