Largeur en pixels carrés. Pour les caméras pouvant changer d'orientation, la largeur correspond à la mesure sur l'axe horizontal.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[],[],null,["# Interface CanvasDimensions\n\n| **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. \n|\n| **To use the Meet Media API to access real-time media from a conference, the Google Cloud project, OAuth principal, and all participants in the conference must be enrolled in the Developer Preview Program.**\n\nDimensions of a canvas.\n\nSignature\n---------\n\n declare interface CanvasDimensions\n\nProperty signatures\n-------------------\n\n| Name | Description |\n|----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| [`height`](./media_api.canvasdimensions.height.md) | Height in square pixels. For cameras that can change orientation, height refers to the measurement on the vertical axis. |\n| [`width`](./media_api.canvasdimensions.width.md) | Width in square pixels. For cameras that can change orientation, width refers to the measurement on the horizontal axis. |"]]