Search Results for

    Show / Hide Table of Contents

    Class ResizeAction

    Specifies image resize parameters.

    Inheritance
    object
    ResizeAction
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class ResizeAction

    Properties

    Height

    Target height for the output.

    Declaration
    [JsonProperty("height", Required = Required.Always)]
    public int Height { get; set; }
    Property Value
    int

    ResizeMode

    Specifies additional resize behaviour.

    Declaration
    [JsonProperty("resizeMode", Required = Required.Always)]
    [Required(AllowEmptyStrings = true)]
    [JsonConverter(typeof(StringEnumConverter))]
    public ResizeMode ResizeMode { get; set; }
    Property Value
    ResizeMode

    Width

    Target width for the output.

    Declaration
    [JsonProperty("width", Required = Required.Always)]
    public int Width { get; set; }
    Property Value
    int

    Methods

    FromJson(string)

    Declaration
    public static ResizeAction FromJson(string data)
    Parameters
    string data

    Returns
    ResizeAction

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX