View Source
Class ImageUrlGenerationOptions
These are options that are passed to the IImageUrlGenerator implementation to determine the URL that is generated.
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
View Source
Crop
Declaration
public ImageUrlGenerationOptions.CropCoordinates? Crop { get; set; }
Property Value
View Source
FocalPoint
Declaration
public ImageUrlGenerationOptions.FocalPointPosition? FocalPoint { get; set; }
Property Value
View Source
FurtherOptions
Declaration
public string? FurtherOptions { get; set; }
Property Value
View Source
Height
Declaration
public int? Height { get; set; }
Property Value
View Source
ImageCropAnchor
Declaration
public ImageCropAnchor? ImageCropAnchor { get; set; }
Property Value
View Source
ImageCropMode
Declaration
public ImageCropMode? ImageCropMode { get; set; }
Property Value
View Source
ImageUrl
Declaration
public string? ImageUrl { get; }
Property Value
View Source
Quality
Declaration
public int? Quality { get; set; }
Property Value
View Source
SourceHeight
Declaration
public int? SourceHeight { get; set; }
Property Value
View Source
SourceWidth
Declaration
public int? SourceWidth { get; set; }
Property Value
View Source
Width
Declaration
public int? Width { get; set; }
Property Value
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
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.
|