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 Samples


This artical is going to demostrate the shape of watermark text.

The sample code below initialize the objects needed

[Visual Basic]

Dim image As Image
Dim bitmap As New Bitmap (320,120)
image = (Image) bitmap
Dim objWriter As New angGoGo.CoolWatermark.Writer( Image )
objWriter.FontFamily = " Arial "
objWriter.FontSize = 48

objWriter.PositionStyle = PositionStyle.MiddleCenter


[C#]

Image image;
Bitmap bitmap = new Bitmap(320,120);
image = (Image)bitmap;
angGoGo.CoolWatermark.Writer objWriter = new Writer(image);
objWriter.FontFamily = "Arial";
objWriter.FontSize = 48;
objWriter.PositionStyle = PositionStyle.MiddleCenter;


ShapeStyle.ArchLower
Degree = 200

ShapeStyle.ArchUpper
Degree = 200

ShapeStyle.Bugle
Degree = 200

ShapeStyle.RipBottom
Degree = 50

ShapeStyle.Squeeze
Degree = 200

ShapeStyle.ShearHorizontal
Degree = 50

ShapeStyle.ShearVertical
Degree = 30

ShapeStyle.SwellHorizontal
Degree = 50

ShapeStyle.SwellVertical
Degree = 50

ShapeStyle.ZoomIn
Degree = 30

ShapeStyle.ZoomOut
Degree = 30

ShapeStyle.ZoomLower
Degree = 20

ShapeStyle.ZoomUpper
Degree = 20

 

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

  Valid HTML 4.01 Transitional