Show / Hide Table of Contents

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 Source

Both

Size both up and down.

Declaration
public const string Both = "both"
Field Value
Type Description
System.String
| Improve this Doc View Source

Down

Only downsize.

Declaration
public const string Down = "down"
Field Value
Type Description
System.String
| Improve this Doc View Source

Force

Force size, that is, break aspect ratio.

Declaration
public const string Force = "force"
Field Value
Type Description
System.String
| Improve this Doc View Source

Up

Only upsize.

Declaration
public const string Up = "up"
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Generated by DocFX