Google Slides for Developers
  • Google Slides for Developers
  • Slides API
Sign in
Home Guides Reference Samples Support
Google Slides for Developers
  • Google Slides for Developers
  • Slides API
  • Home
  • Guides
  • Reference
  • Samples
  • Support
  • Overview
  • REST Resources
  • presentations
    • Overview
    • batchUpdate
      • Overview
      • Requests
      • Responses
    • create
    • get
  • presentations.pages
    • Overview
      • Pages
      • Shapes
      • Lines
      • Images
      • Videos
      • Tables
      • Charts
      • Text
      • Other
    • get
    • getThumbnail
  • Types
  • Dimension
  • Size
  • Unit
  • Client Library Reference
  • Browser
  • Go
  • Java
    • Core library
    • API library
  • .NET
    • Core library
    • API library
  • Node.js
  • PHP
  • Python
    • Core library
    • API library
  • Ruby
  • Other Reference
  • Usage limits
  • Home
  • Products
  • Google Workspace for Developers
  • Google Slides for Developers
  • Slides API
  • Reference

Size

  • JSON representation

A width and height.

JSON representation
{
  "width": {
    object (Dimension)
  },
  "height": {
    object (Dimension)
  }
}
Fields
width

object (Dimension)

The width of the object.

height

object (Dimension)

The height of the object.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-03-07 UTC.

  • Blog Blog
    Read the Google Workspace Developers blog
  • Stack Overflow Stack Overflow
    Ask questions with the google-slides-api tag
  • file_download
    Client libraries
    Download a client library for your preferred language
  • Codelabs Codelabs
    Try a guided, hands-on coding experience
  • Google Workspace for Developers

    • Platform overview
    • Developer products
    • Developer support
    • Terms of Service
  • Tools

    • Admin Console
    • Apps Script Dashboard
    • Google Cloud Console
  • Connect

    • Blog
    • Newsletter
    • Twitter
    • YouTube
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • Sign up for the Google Developers newsletter Subscribe