Show / Hide Table of Contents

Class Drive.BackgroundImageFileData

An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.

Inheritance
object
Drive.BackgroundImageFileData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Drive.v3.Data
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class Drive.BackgroundImageFileData

Properties

Id

The ID of an image file in Google Drive to use for the background image.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

Width

The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high.

Declaration
[JsonProperty("width")]
public virtual float? Width { get; set; }
Property Value
Type Description
float?

XCoordinate

The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.

Declaration
[JsonProperty("xCoordinate")]
public virtual float? XCoordinate { get; set; }
Property Value
Type Description
float?

YCoordinate

The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image.

Declaration
[JsonProperty("yCoordinate")]
public virtual float? YCoordinate { get; set; }
Property Value
Type Description
float?
In this article
Back to top Generated by DocFX