C# 클래스 ImageResizer.FluentExtensions.MiscExtensions

Various plugin extensions that don't really belong in their own expressions
파일 보기 프로젝트 열기: benfoster/ImageResizer.FluentExtensions

공개 메소드들

메소드 설명
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