Show / Hide Table of Contents

Class WidgetMarkup.Types.Image

An image that's specified by a URL and can have an onclick action.

Inheritance
object
WidgetMarkup.Types.Image
Implements
IMessage<WidgetMarkup.Types.Image>
IEquatable<WidgetMarkup.Types.Image>
IDeepCloneable<WidgetMarkup.Types.Image>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class WidgetMarkup.Types.Image : IMessage<WidgetMarkup.Types.Image>, IEquatable<WidgetMarkup.Types.Image>, IDeepCloneable<WidgetMarkup.Types.Image>, IBufferMessage, IMessage

Constructors

Image()

Declaration
public Image()

Image(Image)

Declaration
public Image(WidgetMarkup.Types.Image other)
Parameters
Type Name Description
WidgetMarkup.Types.Image other

Properties

AspectRatio

The aspect ratio of this image (width and height). This field lets you reserve the right height for the image while waiting for it to load. It's not meant to override the built-in aspect ratio of the image. If unset, the server fills it by prefetching the image.

Declaration
public double AspectRatio { get; set; }
Property Value
Type Description
double

ImageUrl

The URL of the image.

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

OnClick

The onclick action.

Declaration
public WidgetMarkup.Types.OnClick OnClick { get; set; }
Property Value
Type Description
WidgetMarkup.Types.OnClick
In this article
Back to top Generated by DocFX