Class VideoResizeOptions
Represents options for resizing videos.
Implements
Namespace: FulcrumFS.Videos
Assembly: FulcrumFS.Videos.dll
Syntax
public sealed record VideoResizeOptions : IEquatable<VideoResizeOptions>
Constructors
| Name | Description |
|---|---|
| VideoResizeOptions(VideoResizeMode, int, int, bool) | Initializes a new instance of the VideoResizeOptions class with the specified mode and target size. |
Properties
| Name | Description |
|---|---|
| Height | Gets or initializes the target height in pixels. Must be at least 1. |
| MatchSourceOrientation | Gets or initializes a value indicating whether the target Width and Height should be swapped prior to resizing when needed so that the longest target dimension matches the longest source dimension (i.e. portrait targets are applied to portrait sources and landscape targets to landscape sources). Default is false. |
| Mode | Gets or initializes the resize mode to use when resizing videos. |
| Width | Gets or initializes the target width in pixels. Must be at least 1. |