Difference between revisions of "CAObject::PictureToStream"
m (→See Also) |
|||
Line 1: | Line 1: | ||
− | [[ | + | [[Category:ADE User Guide]] |
− | + | [[ADE User Guide]] > [[ADE Server Class Reference]] > [[CAObject]] | |
+ | <languages /> | ||
+ | <translate> | ||
= bool PictureToStream(stream,mimeType) = | = bool PictureToStream(stream,mimeType) = | ||
Line 29: | Line 31: | ||
* [[CAObject::PictureToFile]] method | * [[CAObject::PictureToFile]] method | ||
+ | </translate> |
Revision as of 00:43, 16 June 2015
ADE User Guide > ADE Server Class Reference > 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
- CAObject::PictureToFile method
Comments
Enable comment auto-refresher