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


ASPPainter SetImageIndex

SetImageIndex Statement:

Select image

Object.SetImageIndex index

Parameters:

index-has integer type. Possible values: [0-9]. The index defines current image to work with.

Sample: object.SetImageIndex 1

This method selects an image in array as current image. The component can work with several images at the same time. The images in the array are not initialized by default and you should call Create, LoadFile, LoadDatabase or LoadStream methods after changing the index. When you switch images, they remain in the array. When you have not made a single call to SetImageIndex, 0 index image is used by default.
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