CodeCarvings.Piczard
TextWatermark Class Members
See Also  Properties  Methods  Send Feedback
CodeCarvings.Piczard.Filters.Watermarks Namespace : TextWatermark Class


The following tables list the members exposed by TextWatermark.

Public Constructors

  Name Description
Public Constructor TextWatermark Constructor Overloaded. Initializes a new instance of the TextWatermark class.  
Top

Public Properties

  Name Description
Public Property ContentAlignment Gets or sets the alignment of the watermark with respect to the source image. (Inherited from Watermark)
Public Property ContentDisplacement Gets or sets a value that allows to shift the watermark from the location specified by the ContentAlignment property. (Inherited from Watermark)
Public Property FilterFullName Gets the full name of the ImageProcessingFilter. (Inherited from CodeCarvings.Piczard.ImageProcessingFilter)
Public Property FilterName Gets the name of the ImageProcessingFilter. (Inherited from CodeCarvings.Piczard.ImageProcessingFilter)
Public Property FilterVersion Gets the Version of the ImageProcessingFilter. (Inherited from CodeCarvings.Piczard.ImageProcessingFilter)
Public Property Font Gets or sets the font to use when drawing the text.  
Public Property ForeColor Gets or sets the color of the text.  
Public Property StringFormat Gets or sets additional text layout information (e.g. alignment, orientation and tab stops).  
Public Property Text Gets or sets the text to apply as watermark.  
Public Property TextContrast Gets or sets the gamma correction value used for rendering antialiased text.  
Public Property TextRenderingHint Gets or sets the text quality (e.g. antialiasing)  
Public Property Unit Gets or sets the graphic unit in which sizes and locations are measured. (Inherited from Watermark)
Top

Public Methods

  Name Description
Public Methodstatic (Shared in Visual Basic) FromJSON Overloaded. Deserializes a new instance of the TextWatermark class from JSON.  
Public Method GetImageProcessingJob Overloaded. Gets an instance of the ImageProcessingJob class that can be used to process the image; the current filter is added to the Filters collection of the ImageProcessingJob object. (Inherited from CodeCarvings.Piczard.ImageProcessingFilter)
Public Method GetProcessedImage Overloaded. Applies the current ImageProcessingFilter to the specified image and returns the result as a Bitmap object. (Inherited from CodeCarvings.Piczard.ImageProcessingFilter)
Public Method SaveProcessedImageToByteArray Overloaded. Applies the current ImageProcessingFilter to the specified image and saves the result Bitmap to a byte array. (Inherited from CodeCarvings.Piczard.ImageProcessingFilter)
Public Method SaveProcessedImageToFileSystem Overloaded. Applies the current ImageProcessingFilter to the specified image and saves the result Bitmap to the file system. (Inherited from CodeCarvings.Piczard.ImageProcessingFilter)
Public Method SaveProcessedImageToStream Overloaded. Applies the current ImageProcessingFilter to the specified image and saves the result Bitmap to a Stream. (Inherited from CodeCarvings.Piczard.ImageProcessingFilter)
Public Method ToString Returns a string that represents the current object. (Inherited from Watermark)
Public Method TransmitProcessedImageToWebResponse Overloaded. Applies the current ImageProcessingFilter to the specified image using default output resolution (96 DPI), then encodes and writes the result Bitmap directly to an HTTP response output stream. (Inherited from CodeCarvings.Piczard.ImageProcessingFilter)
Public Methodstatic (Shared in Visual Basic) ValidateTextContrast Overloaded. Determines if the provided text contrast is valid.  
Top

Protected Methods

  Name Description
Protected Method Apply Applies the current ImageProcessingFilter. (Inherited from Watermark)
Protected Method ApplyTextWatermark Applies the current TextWatermark on the specified Graphics object.  
Protected Method ApplyWatermark Overridden. Applies the current Watermark.  
Protected Method GetContentLocation Gets the coordinates (X/Y expressed in pixels) of the watermark to apply. (Inherited from Watermark)
Protected Method LoadImageProcessingActions Initializes and loads one more ImageProcessingAction objects that will be used during the image processing workflow. (Inherited from CodeCarvings.Piczard.ImageProcessingFilter)
Top

See Also

©2013 Sergio Turolla. All Rights Reserved.