2. The method of claim 1 , wherein the determination includes: creating a transient raster version of the electronic document; and using a raster-based edge detection technique on the transient raster version of the electronic document to determine whether one or more sides of the perimeter intersect one or more graphical elements in the electronic document.
2. The method of claim 1 , wherein the determination includes: creating a transient raster version of the electronic document; and using a raster-based edge detection technique on the transient raster version of the electronic document to determine whether one or more sides of the perimeter intersect one or more graphical elements in the electronic document. 3. The method of claim 2 , wherein the raster-based edge detection technique uses a Hough transform to identify one or more graphical elements in the electronic document.