I'd like to change the beamer paper size, but the problem is that when I change it the frame of the main document goes out of the page, and has therefore a unusable paperheight. And because I'd like to use the paperheight to position my elements precisely, it's quite annoying...
\documentclass{beamer}
\geometry{showframe,paperwidth=297mm,paperheight=210mm,margin=5mm,nohead,nofoot,nomarginpar}
\setbeamertemplate{footline}[frame number]{}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}{}
\setbeamertemplate{background canvas}{}
\begin{document}
This frame goes out of this document.
\end{document}
The top part is ok:
but not the bottom part:
Thank you !

