Class WebMedia
Summary description for WebMedia.
Inherited Members
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
[MediaFormatType(typeof(WebMediaFormat))]
public abstract class WebMedia : Media, IItem<int>, ISizeInformation
Constructors
WebMedia()
Initializes a new instance of the WebMedia class.
Declaration
protected WebMedia()
WebMedia(WebMedia)
Initializes a new instance of the WebMedia class.
Declaration
protected WebMedia(WebMedia info)
Parameters
Type | Name | Description |
---|---|---|
WebMedia | info |
Properties
AspectRatio
Get/Sets the AspectRatio of the ExtendedMediaInformation
Declaration
[Obsolete("AspectRatio will be removed in next major release. Use Width/Height instead.")]
public double AspectRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
If not set and if a valid width and height are presented, the aspect ratio is calculated
FormatAspectRatio
Get/Sets the FormatAspectRatio of the Image
Declaration
public double FormatAspectRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The AspectRatio found in the media conversion or 0 if n aspect ratio was set in the conversion |
FormatHeight
Get/Sets the FormatHeight of the Image
Declaration
public int FormatHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The height found in the media conversion or 0 if no height is set in the conversion |
FormatWidth
Get/Sets the FormatWidth of the Image
Declaration
public int FormatWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The widht found in the media conversion or 0 if no width is set in the conversion |
Height
Get/Sets the Height of the Image
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The actual heigth that the image will be after applying the conversion |
Width
Get/Sets the Width of the Image
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The actual width that the image will be after applying the conversion |