ASP Painter
Home
Home
Samples
Samples
Purchase
Purchase
Download
Download
Documentation
Documentation


ASPPainter Create

Create Statement:

Create image

Object.Create width, height

Sample: object.Create 100,200

This method loads and initializes GDI+ library, allocates memory to keep
image data and creates black transparent image with the given width and
height. If you need to create an image of another color, you should call
"object.SetBKColor red,green, blue, alpha" method. You need to remember that
you should destroy the image when you don't need it anymore. Image
destruction frees allocated memory and other resources.

SetBKColor, LoadFile, LoadDatabase, LoadStream methods also load and
initialize GDI+ library. DestroyALL method frees allocated memory, and
unloads GDI+ library. Destroy method only destroys current image. It's
preferable to use DestroyALL at the end of your script.

See also

SetBKColor,SetImageIndex, LoadFile,LoadDatabase, LoadStream, Create, DestroyDestroyALL

More samples:


Brush
Circle, Arc, , Ellipse, Brush, Polygon, Pie

Copy Resize Merge
Cat, Copy, Copy, Copy with transparent, Files, Photo, Merge, Merge cat, Merge cat, Resize, Resize photo

Database
Read, Write

Diagram
Chart, Pie

Effect
Gray

Fill
Fill

Get info
Get pixel

Gradient
Arc, Besier, Circle, Ellipse, Gradient, Pie, Polygon, Rectangle, Unclosed polygon

Load file
Load BMP, Load GIF, Load Jpeg, Load PNG, Load Tiff

Primitive
Arc, Beziers, Circle, Ellipse, Line, Pie, Rectangle, Unclosed polygon, Unclosed polygon

Region
Region

Rotate
Horizontal, Mirror, Rotate, Vertical,

Stream
Stream

Text
Antialias, Exist font, Font, Fonts, Rotate text, Style, Text gradient, Text in rectangle

Thumbnail
Thumbnail

Transparent
Transparent

Variant
Variant



home samples purchase documentation download