Home    CoolWatermark Online Documentation Prev Next
CoolWatermark
Welcome
Features
Installation
Release Notes
Requirements
Reference
Classes
Writer
Methods
Properties
CoolWatermarkException
Structure
Border
Effect
Shadow
Shape
Enumeration
BrushStyle
EffectStyle
PositionStyle
ShapeStyle
Artical
Effect Samples
Overlapped Image
Shadow Samples
Shape Samples
Write with Border
Customize Shape Warp
Write Halo Text
Purchase
License
[Top]
CoolWatermark Component for .NET ImageComponent.NET Logo
Shape Constructor


Initializes a Shape structure encapsulated shapestyle for watermark text
[Visual Basic]
Public Sub New ( _
       ByVal
shape As angGoGo.CoolWatermark.ShapeStyle)
 
[C#]
public Border { _
       angGoGo.CoolWatermark.ShapeStyle
shape}
 

Parameters

shape

ShapeStyle for watermark text

Notes

It will set a default degree for different shapestyle. For a list of them, please refer to the following table:

Style Min Max Default Value
ArchLower 2 (will be invisible probably) no limited 200
ArchUpper 2 (will be invisible probably) no limited 200
Bulge 2 (will be invisible probably) no limited (larger value might enlarge text) 200
Customize useless (*) useless (*) useless (*)
Default useless (*) useless (*) useless (*)
RipBottom 0 no limited (larger value might make the text invisible) 20
RipTop 0 no limited (larger value might make the text invisible) 20
ShearHorizontal 0 no limited 50
ShearVertical 0 no limited 50
Squeeze 2 (smaller value might enlarge text) no limited (larger value might make the text invisible) 200
SwellHorizontal 0 no limited 50
SwellVertical 0 no limited 50
ZoomIn 1 100 20
ZoomLower 1 100 20
ZoomOut 1 100 20
ZoomUpper 1 100 20

(*) useless means "Degree" doesn't work with this ShapeStyle

See also

Shape struct | Shape Samples | angGoGo.CoolWatermark namespace

 

2005-2007 © ImageComponent.NET. All rights reserved.

  Valid HTML 4.01 Transitional