C# Класс ImageProcessor.Web.Processors.Watermark

Encapsulates methods to add a watermark text overlay to an image.
Наследование: IWebGraphicsProcessor
Показать файл Открыть проект

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

Метод Описание
MatchRegexIndex ( string queryString ) : int

The position in the original string where the first character of the captured substring was found.

Watermark ( ) : System.Collections.Specialized

Initializes a new instance of the Watermark class.

Приватные методы

Метод Описание
ParseColor ( NameValueCollection queryCollection ) : Color

Returns the correct T:System.Drawing.Color for the given parameter collection.

ParseDropShadow ( NameValueCollection queryCollection ) : bool

Returns a value indicating whether the watermark is to have a shadow.

ParseFontFamily ( NameValueCollection queryCollection ) : FontFamily

Returns the correct FontFamily for the given parameter collection.

ParseFontSize ( NameValueCollection queryCollection ) : int

Returns the correct T:System.Int32 for the given parameter collection.

ParseFontStyle ( NameValueCollection queryCollection ) : FontStyle

Returns the correct T:System.Drawing.FontStyle for the given parameter collection.

ParseOpacity ( NameValueCollection queryCollection, Color color ) : int

Returns the correct T:System.Int32 containing the opacity for the parameter collection.

ParsePosition ( NameValueCollection queryCollection ) : Point?

Returns the correct T:System.Drawing.Point for the given parameter collection.

ParseRightToLeft ( NameValueCollection queryCollection ) : bool

Returns a value indicating whether the watermark is to be written right to left.

ParseText ( NameValueCollection queryCollection ) : string

Returns the correct T:System.String for the given parameter collection.

ParseVertical ( NameValueCollection queryCollection ) : bool

Returns a value indicating whether the watermark is to be written vertically.

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

MatchRegexIndex() публичный Метод

The position in the original string where the first character of the captured substring was found.
public MatchRegexIndex ( string queryString ) : int
queryString string /// The query string to search. ///
Результат int

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

Initializes a new instance of the Watermark class.
public Watermark ( ) : System.Collections.Specialized
Результат System.Collections.Specialized