Search Results for

    Show / Hide Table of Contents
    View Source

    Class ImageUrlGenerationOptions

    These are options that are passed to the IImageUrlGenerator implementation to determine the URL that is generated.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class ImageUrlGenerationOptions : IEquatable<ImageUrlGenerationOptions>

    Constructors

    View Source

    ImageUrlGenerationOptions(String)

    Declaration
    public ImageUrlGenerationOptions(string imageUrl)
    Parameters
    Type Name Description
    System.String imageUrl

    Properties

    View Source

    CacheBusterValue

    Declaration
    public string CacheBusterValue { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Crop

    Declaration
    public ImageUrlGenerationOptions.CropCoordinates Crop { get; set; }
    Property Value
    Type Description
    ImageUrlGenerationOptions.CropCoordinates
    View Source

    FocalPoint

    Declaration
    public ImageUrlGenerationOptions.FocalPointPosition FocalPoint { get; set; }
    Property Value
    Type Description
    ImageUrlGenerationOptions.FocalPointPosition
    View Source

    FurtherOptions

    Declaration
    public string FurtherOptions { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Height

    Declaration
    public int? Height { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    View Source

    ImageCropAnchor

    Declaration
    public ImageCropAnchor? ImageCropAnchor { get; set; }
    Property Value
    Type Description
    System.Nullable<ImageCropAnchor>
    View Source

    ImageCropMode

    Declaration
    public ImageCropMode? ImageCropMode { get; set; }
    Property Value
    Type Description
    System.Nullable<ImageCropMode>
    View Source

    ImageUrl

    Declaration
    public string ImageUrl { get; }
    Property Value
    Type Description
    System.String
    View Source

    Quality

    Declaration
    public int? Quality { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    View Source

    Width

    Declaration
    public int? Width { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Methods

    View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    View Source

    Equals(ImageUrlGenerationOptions)

    Declaration
    public bool Equals(ImageUrlGenerationOptions other)
    Parameters
    Type Name Description
    ImageUrlGenerationOptions other
    Returns
    Type Description
    System.Boolean
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ImageUrlGenerationOptions(String)
    • Properties
      • CacheBusterValue
      • Crop
      • FocalPoint
      • FurtherOptions
      • Height
      • ImageCropAnchor
      • ImageCropMode
      • ImageUrl
      • Quality
      • Width
    • Methods
      • Equals(Object)
      • Equals(ImageUrlGenerationOptions)
      • GetHashCode()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX