- Upload Suite Overview
- What's New?
- Choosing Upload Technology
- Evaluating Upload Suite
- Upload Suite Editions
- System Requirements
- Installation and Deployment Notes
- ActiveX/Java Uploader
- Where ActiveX/Java Uploader Can Be Useful
- Before You Started with ActiveX/Java Uploader
- ActiveX/Java Uploader Fundamentals
- ActiveX/Java Uploader User Interface
- Getting Started
- Using ActiveX/Java Uploader
- Troubleshooting
- Reference
- ActiveX/Java Uploader ASP.NET Reference
- Aurigma.ImageUploader Namespace
- ActiveXControl Class ActiveX/Java Uploader ASP.NET
- AddFilesProgressDialog Class ActiveX/Java Uploader ASP.NET
- AllFilesUploadedEventArgs Class ActiveX/Java Uploader ASP.NET
- AuthenticationDialog Class ActiveX/Java Uploader ASP.NET
- BackgroundImageFormat Class ActiveX/Java Uploader ASP.NET
- BackgroundPosition Enumeration ActiveX/Java Uploader ASP.NET
- BaseClientControl Class ActiveX/Java Uploader ASP.NET
- BaseClientEvent(T) Class ActiveX/Java Uploader ASP.NET
- BaseControl Class ActiveX/Java Uploader ASP.NET
- BaseExtender Class ActiveX/Java Uploader ASP.NET
- BaseUploadControl Class ActiveX/Java Uploader ASP.NET
- BaseUploaderExtender Class ActiveX/Java Uploader ASP.NET
- BorderStyle Enumeration ActiveX/Java Uploader ASP.NET
- ClientEvent Class ActiveX/Java Uploader ASP.NET
- ClientEventCollection Class ActiveX/Java Uploader ASP.NET
- ClientEventNames Enumeration ActiveX/Java Uploader ASP.NET
- CompletionCodeBlock Delegate ActiveX/Java Uploader ASP.NET
- ContextMenu Class ActiveX/Java Uploader ASP.NET
- ConvertedFile Class ActiveX/Java Uploader ASP.NET
- ConvertedFileCollection Class ActiveX/Java Uploader ASP.NET
- Converter Class ActiveX/Java Uploader ASP.NET
- Converter Members ActiveX/Java Uploader ASP.NET
- Converter Constructor ActiveX/Java Uploader ASP.NET
- Converter Methods ActiveX/Java Uploader ASP.NET
- Converter Properties ActiveX/Java Uploader ASP.NET
- Hash Property ActiveX/Java Uploader ASP.NET
- Mode Property ActiveX/Java Uploader ASP.NET
- ThumbnailApplyCrop Property ActiveX/Java Uploader ASP.NET
- ThumbnailBgColor Property ActiveX/Java Uploader ASP.NET
- ThumbnailCompressOversizedOnly Property ActiveX/Java Uploader ASP.NET
- ThumbnailCopyExif Property ActiveX/Java Uploader ASP.NET
- ThumbnailCopyIptc Property ActiveX/Java Uploader ASP.NET
- ThumbnailFitMode Property ActiveX/Java Uploader ASP.NET
- ThumbnailHeight Property ActiveX/Java Uploader ASP.NET
- ThumbnailJpegQuality Property ActiveX/Java Uploader ASP.NET
- ThumbnailKeepColorSpace Property ActiveX/Java Uploader ASP.NET
- ThumbnailResizeQuality Property ActiveX/Java Uploader ASP.NET
- ThumbnailResolution Property ActiveX/Java Uploader ASP.NET
- ThumbnailWatermark Property ActiveX/Java Uploader ASP.NET
- ThumbnailWidth Property ActiveX/Java Uploader ASP.NET
- ConverterCollection Class ActiveX/Java Uploader ASP.NET
- DebugScriptMode Enumeration ActiveX/Java Uploader ASP.NET
- DeleteFilesDialog Class ActiveX/Java Uploader ASP.NET
- DescriptionEditor Class ActiveX/Java Uploader ASP.NET
- DetailsViewColumns Class ActiveX/Java Uploader ASP.NET
- FileUploadedEventArgs Class ActiveX/Java Uploader ASP.NET
- FolderPane Class ActiveX/Java Uploader ASP.NET
- FolderProcessingMode Enumeration ActiveX/Java Uploader ASP.NET
- FontFormat Class ActiveX/Java Uploader ASP.NET
- GradientColor Structure
- GradientColorConverter Class ActiveX/Java Uploader ASP.NET
- ImageEditor Class ActiveX/Java Uploader ASP.NET
- ImageFormat Class ActiveX/Java Uploader ASP.NET
- InformationBar Class ActiveX/Java Uploader ASP.NET
- InstallationProgress Class ActiveX/Java Uploader ASP.NET
- JavaControl Class ActiveX/Java Uploader ASP.NET
- Language Enumeration ActiveX/Java Uploader ASP.NET
- Messages Class ActiveX/Java Uploader ASP.NET
- Metadata Class ActiveX/Java Uploader ASP.NET
- OpenFileDialogMode Enumeration ActiveX/Java Uploader ASP.NET
- Package Class ActiveX/Java Uploader ASP.NET
- PaneItem Class ActiveX/Java Uploader ASP.NET
- PaneLayoutMode Enumeration ActiveX/Java Uploader ASP.NET
- PaneSortMode Enumeration ActiveX/Java Uploader ASP.NET
- PaneViewMode Enumeration ActiveX/Java Uploader ASP.NET
- PostFields Class ActiveX/Java Uploader ASP.NET
- ProgressBytesMode Enumeration ActiveX/Java Uploader ASP.NET
- QualityMeter Class ActiveX/Java Uploader ASP.NET
- ResizeQuality Enumeration ActiveX/Java Uploader ASP.NET
- Restrictions Class ActiveX/Java Uploader ASP.NET
- StatusPane Class ActiveX/Java Uploader ASP.NET
- Thumbnail Class ActiveX/Java Uploader ASP.NET
- ThumbnailClientEvent Class ActiveX/Java Uploader ASP.NET
- ThumbnailClientEventCollection Class ActiveX/Java Uploader ASP.NET
- ThumbnailClientEventNames Enumeration ActiveX/Java Uploader ASP.NET
- ThumbnailFitMode Enumeration ActiveX/Java Uploader ASP.NET
- TreePane Class ActiveX/Java Uploader ASP.NET
- UploadedFile Class ActiveX/Java Uploader ASP.NET
- Uploader Class ActiveX/Java Uploader ASP.NET
- UploadHandler Class ActiveX/Java Uploader ASP.NET
- UploadPane Class ActiveX/Java Uploader ASP.NET
- UploadProgressDialog Class ActiveX/Java Uploader ASP.NET
- UploadRequest Class ActiveX/Java Uploader ASP.NET
- UploadSettings Class ActiveX/Java Uploader ASP.NET
- Aurigma.ImageUploader.AmazonS3 Namespace
- Aurigma.ImageUploader Namespace
- ActiveX/Java Uploader PHP Reference
- ActiveX/Java Uploader JavaScript Reference
- ActiveX/Java Uploader Client-Side Events Reference
- POST Field Reference
- ActiveX/Java Uploader ASP.NET Reference
- HTML5/Flash Uploader
- Licensing Information
- Legal Notices
Converter.ThumbnailWatermark Property ActiveX/Java Uploader ASP.NET
Gets or sets a watermark of the thumbnail.
Namespace:
Aurigma.ImageUploader
Assembly:
Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
Syntax
public string ThumbnailWatermark { get; set; }
Property Value
Type: System..String
The watermark of the thumbnail. Watermark string syntax is described in the Remarks section.
If an empty string is specified, watermark will not be drawn on the thumbnail.
Default value is "".
Remarks
The watermark string consists of several variables separated with a semicolon:
variable1=value1;variable2=value2;...
The following variables are supported:
| Variable | Description |
|---|---|
| Text |
Watermark text. If the text contains semicolon or quotation mark characters enclose it in single (
Note
If both text and image are used as watermarks, the text will always be rendered over the image. Default value is an empty string. When the text watermark is specified, the following parameter also makes sense:
|
| FillColor |
Font color. It has the same syntax as all ActiveX/Java Uploader color properties (i.e. HTML-style Default value is an empty string (the fill is transparent). |
| Font |
Font name. This font should be installed on the client machine. That is why it is highly recommended to use some generic font like Default value is |
| Size |
Font size (in pixels). Default value is |
| Style |
Font style. The following styles are supported:
You can specify several styles separated with a comma. Example:
Default value is an empty string (regular font is used). |
| ImageUrl |
Url to an image that will be used as the watermark.
Note
If both text and image are used as watermarks, the text will always be rendered over the image. Default value is an empty string. When the image watermark is specified, the following parameter also makes sense:
|
| Width |
Width of the image that will be used as the watermark. The image will be resized to the specified dimensions as an ordinary thumbnail, that is, the image can only be downsized, and its proportions are kept. Default value is an empty string (actual image width is used). |
| Height |
Height of the image that will be used as the watermark. The image will be resized to the specified dimensions as an ordinary thumbnail, i.e. the image can only be downsized and its proportions are kept. Default value is an empty string (actual image height is used). |
| Position |
Watermark position. It can take one of the following values:
Default value is |
| OffsetX |
Horizontal offset (in pixels) of the watermark relative to the position it is anchored to (according to the
Note
If horizontal position is left or center, coordinates direction is left-to-right. If it is right, coordinates direction is flipped to right-to-left. Default value is |
| OffsetY |
Vertical offset (in pixels) of the watermark relative to the position it is anchored to (according to the
Note
If vertical position is top or center, coordinates direction is top-to-bottom. If it is bottom, coordinates direction is flipped to bottom-to-top. Default value is |
| Opacity |
Watermark opacity percentage. If This value works for all elements of watermark. There is no way to configure different opacity for background, text outline and text fill. Default value is |
| BackgroundColor |
Background color. It has the same syntax as all ActiveX/Java Uploader color properties (i.e. HTML-style Default value is an empty string (the background is transparent). |
| BackgroundMarginWidth |
Width of additional space outside of the watermark filled with background (in pixels). Default value is |
| BackgroundMarginHeight |
Height of additional space outside of the watermark filled with background (in pixels). Default value is |
| OutlineColor |
Text outline color. It has the same syntax as all ActiveX/Java Uploader color properties (i.e. HTML-style Default value is an empty string (the outline is transparent). |
| OutlineWidth |
Width of the text outline. Default value is |
The watermark string is case insensitive.
Though you can set both image and text watermarks at the same time, it makes sense to use only one of them. For text watermarks the only required variable is Text.
Here is an example of watermark string which will draw green semi-transparent italic text Aurigma in the bottom left corner of an image:
<aur:Uploader ID="Uploader1" runat="server">
<Converters>
<aur:Converter Mode="*.*=Thumbnail" />
</Converters>
</aur:Uploader>
ThumbnailWatermark="Text=Aurigma;Opacity=75;FillColor=#00ff00;Position=BottomLeft;Style=Italic;Size=30"
For image watermarks ImageUrl, Width, and Height are required. Here is an example of semi-transparent logo drawn in the top tight corner of the image:
Uploader1.Converters[0].ThumbnailWatermark="ImageUrl=http://localhost/watermark.png;Width=86;Height=63;Position=TopRight;Opacity=50"
This property makes sense only if the Mode property has the Thumbnail value.
See Also
Reference
- Converter Class
- Aurigma.ImageUploader Namespace
- $au.converter.thumbnailWatermark JavaScript PropertyActiveX/Java Uploader
- Converter.ThumbnailWatermark PHP PropertyActiveX/Java Uploader