Interface IResizeFormat
Defines a conversion format that can performe resize of media
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public interface IResizeFormat
Properties
AspectRatio
Get/Sets the AspectRatio of the IResizeFormat
Declaration
double AspectRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Double | if larger than 0, defines the target aspect ratio of the image |
Height
Get/Sets the Height of the IResizeFormat
Declaration
int? Height { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | If defined, specifies the maximum height of the conversion |
KeepAspectRatio
Get/Sets the KeepAspectRatio of the IResizeFormat
Declaration
bool KeepAspectRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if the original aspect ratio should be kept when resizing |
Width
Get/Sets the Width of the IResizeFormat
Declaration
int? Width { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | If specified, defines the maximum width of the conversion |