Struct ImageSize
Struct ImageSize
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
Namespace: MediaBrowser.Model.Drawing
Assembly: MediaBrowser.Model.dll
Syntax
public struct ImageSize
Constructors
ImageSize(Double, Double)
Declaration
public ImageSize(double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | width | |
System.Double | height |
ImageSize(Int32, Int32)
Declaration
public ImageSize(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | |
System.Int32 | height |
Properties
Height
Gets or sets the height.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The height. |
Width
Gets or sets the width.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The width. |
Methods
Equals(ImageSize)
Declaration
public bool Equals(ImageSize size)
Parameters
Type | Name | Description |
---|---|---|
ImageSize | size |
Returns
Type | Description |
---|---|
System.Boolean |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.ValueType.ToString()