Class ImageComponent
Represents an image.
Implements
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 |