Class Enums.Size
Controls whether an operation should upsize, downsize, both up and downsize, or force a size.
Inheritance
System.Object
Enums.Size
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NetVips
Assembly: NetVips.dll
Syntax
public static class Size
Remarks
See for example Thumbnail(String, Int32, Nullable<Int32>, String, Nullable<Boolean>, String, Nullable<Boolean>, String, String, String).
Fields
| Improve this Doc View SourceBoth
Size both up and down.
Declaration
public const string Both = "both"
Field Value
Type | Description |
---|---|
System.String |
Down
Only downsize.
Declaration
public const string Down = "down"
Field Value
Type | Description |
---|---|
System.String |
Force
Force size, that is, break aspect ratio.
Declaration
public const string Force = "force"
Field Value
Type | Description |
---|---|
System.String |
Up
Only upsize.
Declaration
public const string Up = "up"
Field Value
Type | Description |
---|---|
System.String |