ImageScaleMode.PreserveAspectRatio Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Preserves the same aspect ratio as the input image. If only one image dimension is provided, the second dimension is calculated based on the input image aspect ratio. When 2 dimensions are provided, the image is resized to fit the most constraining dimension, considering the input image size and aspect ratio.
public static Azure.Media.VideoAnalyzer.Edge.Models.ImageScaleMode PreserveAspectRatio { get; }
static member PreserveAspectRatio : Azure.Media.VideoAnalyzer.Edge.Models.ImageScaleMode
Public Shared ReadOnly Property PreserveAspectRatio As ImageScaleMode
Property Value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET