Show / Hide Table of Contents

Class CreateImageRequest

Creates an image.

Inheritance
System.Object
CreateImageRequest
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Slides.v1.Data
Assembly: Google.Apis.Slides.v1.dll
Syntax
public class CreateImageRequest : IDirectResponseSchema

Properties

ElementProperties

The element properties for the image. When the aspect ratio of the provided size does not match the image aspect ratio, the image is scaled and centered with respect to the size in order to maintain aspect ratio. The provided transform is applied after this operation. The PageElementProperties.size property is optional. If you don't specify the size, the default size of the image is used. The PageElementProperties.transform property is optional. If you don't specify a transform, the image will be placed at the top left corner of the page.

Declaration
[JsonProperty("elementProperties")]
public virtual PageElementProperties ElementProperties { get; set; }
Property Value
Type Description
PageElementProperties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

ObjectId

A user-supplied object ID. If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an alphanumeric character or an underscore (matches regex [a-zA-Z0-9_]); remaining characters may include those as well as a hyphen or colon (matches regex [a-zA-Z0-9_-:]). The length of the ID must not be less than 5 or greater than 50. If you don't specify an ID, a unique one is generated.

Declaration
[JsonProperty("objectId")]
public virtual string ObjectId { get; set; }
Property Value
Type Description
System.String

Url

The image URL. The image is fetched once at insertion time and a copy is stored for display inside the presentation. Images must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URL can be at most 2 kB in length. The URL itself is saved with the image, and exposed via the Image.source_url field.

Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top