CAObject::PictureToStream

Revision as of 00:44, 16 June 2015 by Karenlee (talk | contribs) (Marked this version for translation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ADE User Guide > ADE Server Class Reference > CAObject

Other languages:
English • ‎中文

bool PictureToStream(stream,mimeType)

Causes ADE to retrieve CAObject object’s picture, if any, and send it to the stream specified by «stream», in the format specified by «mimeType».

Parameters

«stream»: An IStream

«mimeType»: string. Usually one of:

  • "image/jpeg"
  • "image/bmp"
  • "image/tiff"
  • "image/png"

Return value

Boolean. True on success.

Usage

VB + ASP

dim outStream as MyStreamWrapper = new MyStreamWrapper(Response.OutputStream)
bSuccess = obj.PictureToStream( outStream,"image/jpeg")

See Also

Comments


You are not allowed to post comments.