Click here to Skip to main content
15,886,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: exclude private members in docs Pin
Heath Stewart2-Jan-04 5:36
protectorHeath Stewart2-Jan-04 5:36 
GeneralRe: exclude private members in docs Pin
sridhar_india5-Jan-04 23:51
sridhar_india5-Jan-04 23:51 
GeneralRe: exclude private members in docs Pin
Heath Stewart6-Jan-04 2:15
protectorHeath Stewart6-Jan-04 2:15 
GeneralRe: exclude private members in docs Pin
sridhar_india6-Jan-04 19:15
sridhar_india6-Jan-04 19:15 
GeneralReading Image from Office Applications Pin
amohammed1-Jan-04 23:12
amohammed1-Jan-04 23:12 
GeneralRe: Reading Image from Office Applications Pin
Heath Stewart2-Jan-04 5:33
protectorHeath Stewart2-Jan-04 5:33 
GeneralRe: Reading Image from Office Applications Pin
amohammed2-Jan-04 5:46
amohammed2-Jan-04 5:46 
GeneralRe: Reading Image from Office Applications Pin
Heath Stewart2-Jan-04 6:07
protectorHeath Stewart2-Jan-04 6:07 
There was no ambiquity, I knew exactly what you were talking about. What I'm saying is that you should read the documentation for the property type that the image/picture properties return. That may have a Save method or something. Keep in mind, however, that you can't just serialize the type returned - you have to serialize the image represented by the property type, which is implementation specific. For example, I'm pretty sure you can save an image to a file but you might have to read that in and then base64-encode it. It probably supports writing to a stream, but this is a COM IStream, not a .NET Stream which works differently (so you'd have to define a COM-like IStream and implement that, perhaps wrapping the .NET Stream object).

What I can't figure out is how the Shape ties into this. Just looking at the interop assembly, it would seem that a picture is translated to a Shape, which might not preserve the actual image format (so, if you try to create an Image from a stream, it wouldn't work because it's no longer a JPG, BMP, GIF, etc.).

All I can say is read the PowerPoint and Office object model documentation. I couldn't find much, but I'm not sure I have the PowerPoint programming documentation installed (although I thought I specified a Complete install).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Reading Image from Office Applications Pin
amohammed2-Jan-04 5:46
amohammed2-Jan-04 5:46 
QuestionHow to create dynamic rectangle on window form? Pin
kseema1-Jan-04 22:19
kseema1-Jan-04 22:19 
AnswerRe: How to create dynamic rectangle on window form? Pin
Mazdak1-Jan-04 22:50
Mazdak1-Jan-04 22:50 
AnswerRe: How to create dynamic rectangle on window form? Pin
Colin Angus Mackay1-Jan-04 22:57
Colin Angus Mackay1-Jan-04 22:57 
GeneralControl development quesions Pin
Den2Fly1-Jan-04 22:05
Den2Fly1-Jan-04 22:05 
GeneralRe: Control development quesions Pin
Mazdak1-Jan-04 22:45
Mazdak1-Jan-04 22:45 
GeneralRe: Control development quesions Pin
Heath Stewart2-Jan-04 5:28
protectorHeath Stewart2-Jan-04 5:28 
GeneralRe: Control development quesions Pin
Mazdak2-Jan-04 6:11
Mazdak2-Jan-04 6:11 
GeneralRe: Control development quesions Pin
Heath Stewart2-Jan-04 6:47
protectorHeath Stewart2-Jan-04 6:47 
GeneralRe: Control development quesions Pin
Mazdak2-Jan-04 7:23
Mazdak2-Jan-04 7:23 
GeneralRe: Control development quesions Pin
Heath Stewart2-Jan-04 9:03
protectorHeath Stewart2-Jan-04 9:03 
GeneralRe: Control development quesions Pin
Mazdak2-Jan-04 9:52
Mazdak2-Jan-04 9:52 
GeneralRe: Control development quesions Pin
Heath Stewart2-Jan-04 10:05
protectorHeath Stewart2-Jan-04 10:05 
GeneralRe: Control development quesions Pin
Mazdak2-Jan-04 10:26
Mazdak2-Jan-04 10:26 
QuestionRSS in these messageborads??? Pin
Mohsen Sajjadi1-Jan-04 21:24
Mohsen Sajjadi1-Jan-04 21:24 
AnswerRe: RSS in these messageborads??? Pin
Colin Angus Mackay1-Jan-04 22:16
Colin Angus Mackay1-Jan-04 22:16 
AnswerRe: RSS in these messageborads??? Pin
Heath Stewart2-Jan-04 5:19
protectorHeath Stewart2-Jan-04 5:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.