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

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

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

Метод Описание
ProcessImage ( ImageFactory factory ) : Image

Processes the image.

Watermark ( ) : System

Initializes a new instance of the Watermark class.

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

Метод Описание
GetFlags ( ImageProcessor.Imaging.TextLayer textLayer ) : StringFormatFlags?

Returns the correct flags for the given text layer.

GetFont ( FontFamily fontFamily, int fontSize, FontStyle fontStyle ) : Font

Returns the correct T:System.Drawing.Font for the given parameters.

GetRotateFlipType ( ImageFactory factory ) : RotateFlipType?

Gets the correct Nullable{RotateFlipType} to ensure that the watermarked image is correct orientation when the watermark is applied.

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

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

Processes the image.
public ProcessImage ( ImageFactory factory ) : Image
factory ImageFactory /// The current instance of the class containing /// the image to process. ///
Результат Image

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

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