Show / Hide Table of Contents

Class ImageComponent

Represents an image.

Google Workspace Add-ons and Chat apps:

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

Constructors

ImageComponent()

Declaration
public ImageComponent()

ImageComponent(ImageComponent)

Declaration
public ImageComponent(ImageComponent other)
Parameters
Type Name Description
ImageComponent other

Properties

AltText

The accessibility label for the image.

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

BorderStyle

The border style to apply to the image.

Declaration
public BorderStyle BorderStyle { get; set; }
Property Value
Type Description
BorderStyle

CropStyle

The crop style to apply to the image.

Declaration
public ImageCropStyle CropStyle { get; set; }
Property Value
Type Description
ImageCropStyle

ImageUri

The image URL.

Declaration
public string ImageUri { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX