Return document width and height from keynote using applescript

Hello.

Is it possible to return the width and height value from an open keynote document?
something along the lines like.

Non working applescript


tell application "Keynote"
	activate
	tell the front document
		set DocWidth to the width of the front document
		set DocHeight to the height of the front document
	end tell
end tell


Quite simple :

tell application "Keynote"
	activate
	tell front document
		set DocWidth to width
		set DocHeight to height
	end tell
end tell

Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) samedi 3 novembre 2018 19:50:00