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
    object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class ImageUrlGenerationOptions

    Constructors

    View Source

    ImageUrlGenerationOptions(string?)

    Declaration
    public ImageUrlGenerationOptions(string? imageUrl)
    Parameters
    Type Name Description
    string imageUrl

    Properties

    View Source

    CacheBusterValue

    Declaration
    public string? CacheBusterValue { get; set; }
    Property Value
    Type Description
    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
    string
    View Source

    Height

    Declaration
    public int? Height { get; set; }
    Property Value
    Type Description
    int?
    View Source

    ImageCropAnchor

    Declaration
    public ImageCropAnchor? ImageCropAnchor { get; set; }
    Property Value
    Type Description
    ImageCropAnchor?
    View Source

    ImageCropMode

    Declaration
    public ImageCropMode? ImageCropMode { get; set; }
    Property Value
    Type Description
    ImageCropMode?
    View Source

    ImageUrl

    Declaration
    public string? ImageUrl { get; }
    Property Value
    Type Description
    string
    View Source

    Quality

    Declaration
    public int? Quality { get; set; }
    Property Value
    Type Description
    int?
    View Source

    SourceHeight

    Declaration
    public int? SourceHeight { get; set; }
    Property Value
    Type Description
    int?
    View Source

    SourceWidth

    Declaration
    public int? SourceWidth { get; set; }
    Property Value
    Type Description
    int?
    View Source

    Width

    Declaration
    public int? Width { get; set; }
    Property Value
    Type Description
    int?

    Methods

    View Source

    Equals(object?)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    View Source

    Equals(ImageUrlGenerationOptions?)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(ImageUrlGenerationOptions? other)
    Parameters
    Type Name Description
    ImageUrlGenerationOptions other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX