Show / Hide Table of Contents

Class GoogleAppsCardV1ImageCropStyle

Represents the crop style applied to an image. Google Workspace add-ons and Chat apps: For example, here's how to apply a 16:9 aspect ratio:

cropStyle { "type": "RECTANGLE_CUSTOM", "aspectRatio": 16/9 }
Inheritance
object
GoogleAppsCardV1ImageCropStyle
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class GoogleAppsCardV1ImageCropStyle : IDirectResponseSchema

Properties

AspectRatio

The aspect ratio to use if the crop type is RECTANGLE_CUSTOM. For example, here's how to apply a 16:9 aspect ratio:

cropStyle { "type": "RECTANGLE_CUSTOM", "aspectRatio": 16/9 }
Declaration
[JsonProperty("aspectRatio")]
public virtual double? AspectRatio { get; set; }
Property Value
Type Description
double?

ETag

The ETag of the item.

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

Type

The crop type.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX