View Source
Class ImageUrlGenerationOptions
These are options that are passed to the IImageUrlGenerator implementation to determine the URL that is generated.
Inheritance
System.Object
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
View Source
FocalPoint
Declaration
public ImageUrlGenerationOptions.FocalPointPosition FocalPoint { get; set; }
Property Value
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
View Source
ImageCropMode
Declaration
public ImageCropMode? ImageCropMode { get; set; }
Property Value
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
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|