Difference between revisions of "CAObject::PictureToStream"

(Created page with "<< Back to CAObject = bool PictureToStream(stream,mimeType) = Causes ADE to retrieve CAObject object’s picture, if any, and send it to the stream specifie...")
 
Line 28: Line 28:
 
= See Also =
 
= See Also =
  
* [[CAObject::PictureToStream]] method
+
* [[CAObject::PictureToFile]] method

Revision as of 21:16, 12 May 2015

<< Back to CAObject

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.