Click here to Skip to main content
15,892,575 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to send mail using SMTP Pin
Heath Stewart2-Jan-04 19:47
protectorHeath Stewart2-Jan-04 19:47 
QuestionHOW TO Create a Summary Row For a Windows Form DataGrid by Using C# ???? Pin
zfeng_my2-Jan-04 3:02
zfeng_my2-Jan-04 3:02 
AnswerRe: HOW TO Create a Summary Row For a Windows Form DataGrid by Using C# ???? Pin
Mazdak2-Jan-04 3:46
Mazdak2-Jan-04 3:46 
AnswerRe: HOW TO Create a Summary Row For a Windows Form DataGrid by Using C# ???? Pin
Heath Stewart2-Jan-04 5:45
protectorHeath Stewart2-Jan-04 5:45 
GeneralArgumentException at building Pin
Peter Reiter1-Jan-04 23:26
Peter Reiter1-Jan-04 23:26 
GeneralRe: ArgumentException at building Pin
Mazdak1-Jan-04 23:50
Mazdak1-Jan-04 23:50 
GeneralRe: ArgumentException at building Pin
Peter Reiter2-Jan-04 0:17
Peter Reiter2-Jan-04 0:17 
GeneralRe: ArgumentException at building Pin
Mazdak2-Jan-04 1:42
Mazdak2-Jan-04 1:42 
GeneralRe: ArgumentException at building Pin
Peter Reiter2-Jan-04 3:23
Peter Reiter2-Jan-04 3:23 
Generalexclude private members in docs Pin
sridhar_india1-Jan-04 23:17
sridhar_india1-Jan-04 23:17 
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 

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.