Represented by Neodynamic.WebControls.ImageDraw.AdjustOpacity class.
This action adjusts the opacity of an Element. Opacity is adjusted by specifying an opacity level value which ranges from 0 (totally transparent) to 100 (totally opaque). This action is typically used when creating watermarks through either an ImageElement or a TextElement.
Examples
1. In the first example we have two ImageElement objects on the Canvas and an AdjustOpacity action is applied on the last one making it a watermark image effect.
AdjustOpacity
Two ImageElement objects before the action is applied. |
The second ImageElement with opacity equal to 40. |
Syntax sample
2. In this second example we have an ImageElement and a TextElement on the Canvas and an AdjustOpacity action is applied on the last one making it a text watermark effect.
An ImageElement and a TextElement before the action is applied. |
The TextElement with opacity equal to 50. |
Syntax sample
Neodynamic ImageDraw for ASP.NET Documentation
Copyright © 2003 - 2007 Neodynamic - All rights reserved.
Copyright © 2003 - 2007 Neodynamic - All rights reserved.