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


ASPPainter SaveToStream

SaveToStream Statement:

Write image to variable (can be also used to write image directly to browser data stream)

dataVariant = Object.SaveToStream ()

Returns:

dataVariant- has Variant object type.

Sample:
data = object.SaveToStream 3
object.SetImageIndex 3
object.LoadStream (data)

This method saves image to binary data stream. SaveToStream method can be used to output image data directly to browser without the need of saving the image to some intermediary file. You may use Response.WriteBinary in ASP for this purpose.

See also

LoadStream,SaveToStream ,SetFormat

More samples:



Stream
Stream



home samples purchase documentation download