C# Класс ImageResizer.FluentExtensions.MiscExtensions

Various plugin extensions that don't really belong in their own expressions
Показать файл Открыть проект

Открытые методы

Метод Описание
ApplyPresets ( this builder, string presets ) : ImageUrlBuilder

Allows you to define sets of settings in Web.config and reference them by name.

Cache ( this builder, CacheOptions cacheOption = CacheOptions.Default ) : ImageUrlBuilder

Always forces the image to be cached even if it wasn't modified by the resizing module. No disables caching even if it was.

DPI ( this builder, DPIOptions dpiOption ) : ImageUrlBuilder

The DPI at which the image should be printed. Ignored by all browsers, most operating systems, and most printers.

IgnoreICC ( this builder ) : ImageUrlBuilder

Ignores the ICC profile embedded in the source image

Image404 ( this builder, string fallbackImagePathOrPresetName ) : ImageUrlBuilder

The path to the fallback image, or a named preset if the image is not found. For more information see http://imageresizing.net/docs/reference

Process ( this builder, ProcessOptions processOption = ProcessOptions.Default ) : ImageUrlBuilder

Always forces the image to be re-encoded even if it wasn't modified. No prevents the image from being modified.

Watermark ( this builder, string watermarkNames ) : ImageUrlBuilder

The name of one or more watermark layers (or layer groups) to render. For more information see http://imageresizing.net/plugins/watermark

Описание методов

ApplyPresets() публичный статический Метод

Allows you to define sets of settings in Web.config and reference them by name.
public static ApplyPresets ( this builder, string presets ) : ImageUrlBuilder
builder this
presets string A list of preset settings groups to apply. preset1,preset2,preset3
Результат ImageUrlBuilder

Cache() публичный статический Метод

Always forces the image to be cached even if it wasn't modified by the resizing module. No disables caching even if it was.
public static Cache ( this builder, CacheOptions cacheOption = CacheOptions.Default ) : ImageUrlBuilder
builder this
cacheOption CacheOptions
Результат ImageUrlBuilder

DPI() публичный статический Метод

The DPI at which the image should be printed. Ignored by all browsers, most operating systems, and most printers.
public static DPI ( this builder, DPIOptions dpiOption ) : ImageUrlBuilder
builder this
dpiOption DPIOptions
Результат ImageUrlBuilder

IgnoreICC() публичный статический Метод

Ignores the ICC profile embedded in the source image
public static IgnoreICC ( this builder ) : ImageUrlBuilder
builder this
Результат ImageUrlBuilder

Image404() публичный статический Метод

The path to the fallback image, or a named preset if the image is not found. For more information see http://imageresizing.net/docs/reference
public static Image404 ( this builder, string fallbackImagePathOrPresetName ) : ImageUrlBuilder
builder this
fallbackImagePathOrPresetName string
Результат ImageUrlBuilder

Process() публичный статический Метод

Always forces the image to be re-encoded even if it wasn't modified. No prevents the image from being modified.
public static Process ( this builder, ProcessOptions processOption = ProcessOptions.Default ) : ImageUrlBuilder
builder this
processOption ProcessOptions
Результат ImageUrlBuilder

Watermark() публичный статический Метод

The name of one or more watermark layers (or layer groups) to render. For more information see http://imageresizing.net/plugins/watermark
public static Watermark ( this builder, string watermarkNames ) : ImageUrlBuilder
builder this
watermarkNames string
Результат ImageUrlBuilder