Reference documentation and code samples for the Google Cloud Dialogflow v2 API enum Intent.Types.Message.Types.BrowseCarouselCard.Types.ImageDisplayOptions.
Image display options for Actions on Google. This should be used for
when the image's aspect ratio does not match the image container's
aspect ratio.
Pad the gaps between image and image frame with a blurred copy of the
same image.
Cropped
Image is scaled such that the image width and height match or exceed
the container dimensions. This may crop the top and bottom of the
image if the scaled image height is greater than the container
height, or crop the left and right of the image if the scaled image
width is greater than the container width. This is similar to "Zoom
Mode" on a widescreen TV when playing a 4:3 video.
Gray
Fill the gaps between the image and the image container with gray
bars.
Unspecified
Fill the gaps between the image and the image container with gray
bars.
White
Fill the gaps between the image and the image container with white
bars.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The webpage provides reference documentation for the `ImageDisplayOptions` enum within the Google Cloud Dialogflow v2 API, specifically for the .NET environment."],["The content lists available versions of the Google.Cloud.Dialogflow.V2 API, ranging from version 3.2.0 to the latest version, 4.26.0, with links to their respective documentation."],["The `ImageDisplayOptions` enum offers multiple choices for image presentation within Actions on Google, including `BlurredBackground`, `Cropped`, `Gray`, `Unspecified`, and `White`."],["The purpose of the enum is to provide options for handling image aspect ratio discrepancies, by determining how to fill the space around images if their size and shape do not match the container."],["The documentation is located in the `Google.Cloud.Dialogflow.V2` namespace and the `Google.Cloud.Dialogflow.V2.dll` assembly."]]],[]]