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
Writer.Constructor


Initialize a new Writer object with Image object
[Visual Basic]
Public Sub New( _
      ByVal
image As System.Drawing.Image)
 
[C#]
public Writer (
      System.Drawing.Image
image)
 

Parameters

image
       The Image object encapsulated the photo


Initialize a new Writer object from a file

[Visual Basic]
Public Sub New ( _
      ByVal
filename As String)
 
[C#]
public Writer (
      string
filename )
 

Parameters

filename
       The file name of the encapsulating photo

 


Initialize a new Writer object from a stream

[Visual Basic]
Public Sub New ( _
      ByVal
stream As System.IO.Stream)
 
[C#]
public Writer (
      System.IO.Stream
stream)
 

Parameters

stream
       The stream name of the encapsulating photo

 


Initialize an empty Writer object

[Visual Basic]
Public Sub New ( )
 
[C#]
public Writer ( )
 

Remarks

After you initialize an empty Writer object, you must call LoadImage to load an image to process.

See also

Writer class | angGoGo.CoolWatermark namespace

 

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

  Valid HTML 4.01 Transitional