PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Control for show text with images
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Control for show text with images
![]() |
Control for show text with images |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hello!
I am writing an application for pocket pc 2003 using C#. I need to show text with images in the text. Which user control I need to do this? Vitaly |
|
|
|
#2 |
|
Guest
Posts: n/a
|
What about using of PictureBox and Label?
Best regards, Sergey Bogdanov http://www.sergeybogdanov.com Vitaly Sedov wrote: > Hello! > > I am writing an application for pocket pc 2003 using C#. > I need to show text with images in the text. Which user control I need to do > this? > > Vitaly > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Good idea, but i need to insert images in the middle of the text.
For example: this is a first line of text this is a text <image> and text again. Like you can do in word ![]() "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message news:OtFczysKFHA.1136@TK2MSFTNGP10.phx.gbl... > What about using of PictureBox and Label? > > Best regards, > Sergey Bogdanov > http://www.sergeybogdanov.com > > > Vitaly Sedov wrote: > > Hello! > > > > I am writing an application for pocket pc 2003 using C#. > > I need to show text with images in the text. Which user control I need to do > > this? > > > > Vitaly > > > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
You could build it as HTML and use the HTMLViewer / WebBrowser control -
www.opennetcf.org/sdf/ Peter -- Peter Foot Windows Embedded MVP http://www.inthehand.com | http://blog.opennetcf.org/pfoot/ "Vitaly Sedov" <Vitaly.Sedov@aplana.com> wrote in message news:OhH76LtKFHA.3500@TK2MSFTNGP14.phx.gbl... > Good idea, but i need to insert images in the middle of the text. > For example: > > this is a first line of text > this is a text <image> and > text again. > > > Like you can do in word ![]() > > "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message > news:OtFczysKFHA.1136@TK2MSFTNGP10.phx.gbl... >> What about using of PictureBox and Label? >> >> Best regards, >> Sergey Bogdanov >> http://www.sergeybogdanov.com >> >> >> Vitaly Sedov wrote: >> > Hello! >> > >> > I am writing an application for pocket pc 2003 using C#. >> > I need to show text with images in the text. Which user control I need > to do >> > this? >> > >> > Vitaly >> > >> > > > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
If your text is static and will never be changed during application
execution then just split your text on different labels that will gather round image. If text can be changed then you should consider Peter's suggestion to implement it as HTML text. Best regards, Sergey Bogdanov http://www.sergeybogdanov.com Vitaly Sedov wrote: > Good idea, but i need to insert images in the middle of the text. > For example: > > this is a first line of text > this is a text <image> and > text again. > > > Like you can do in word ![]() > > "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message > news:OtFczysKFHA.1136@TK2MSFTNGP10.phx.gbl... > >>What about using of PictureBox and Label? >> >>Best regards, >>Sergey Bogdanov >>http://www.sergeybogdanov.com >> >> >>Vitaly Sedov wrote: >> >>>Hello! >>> >>>I am writing an application for pocket pc 2003 using C#. >>>I need to show text with images in the text. Which user control I need > > to do > >>>this? >>> >>>Vitaly >>> >>> > > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
Try to look at
http://www.labitweb.com/raidpage.aspx may be u will get this there... "Vitaly Sedov" <Vitaly.Sedov@aplana.com> wrote in message news:ePo00csKFHA.2812@TK2MSFTNGP15.phx.gbl... > Hello! > > I am writing an application for pocket pc 2003 using C#. > I need to show text with images in the text. Which user control I need to do > this? > > Vitaly > > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
Thank you guys! I already thought about HTMLViewer. Actually I writing
application for testing people. So, I need control for show each question from SQL CE database. Each question can contain some pictures in text. If I use HTMLViewer I'll need to store pictures and HTML text as files on disk (memory) and point HTMLViewer to this location. It will be better if I have just some control to show text and pictures from memory (not from files). I'll try to find control Thank you, Vitaly Sedov "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message news:%23bnQybtKFHA.1136@TK2MSFTNGP10.phx.gbl... > If your text is static and will never be changed during application > execution then just split your text on different labels that will gather > round image. If text can be changed then you should consider Peter's > suggestion to implement it as HTML text. > > Best regards, > Sergey Bogdanov > http://www.sergeybogdanov.com > > > Vitaly Sedov wrote: > > Good idea, but i need to insert images in the middle of the text. > > For example: > > > > this is a first line of text > > this is a text <image> and > > text again. > > > > > > Like you can do in word ![]() > > > > "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message > > news:OtFczysKFHA.1136@TK2MSFTNGP10.phx.gbl... > > > >>What about using of PictureBox and Label? > >> > >>Best regards, > >>Sergey Bogdanov > >>http://www.sergeybogdanov.com > >> > >> > >>Vitaly Sedov wrote: > >> > >>>Hello! > >>> > >>>I am writing an application for pocket pc 2003 using C#. > >>>I need to show text with images in the text. Which user control I need > > > > to do > > > >>>this? > >>> > >>>Vitaly > >>> > >>> > > > > > > |
|
|
|
#8 |
|
Guest
Posts: n/a
|
Sounds like the text will not be changed by the user and only will be
viewed. If this is correect then I would draw the text and the pictures manually in a panel or something similar. -- Mark Arteaga ..NET Compact Framework MVP http://www.neotericsdc.com | http://blog.markarteaga.com "Vitaly Sedov" <Vitaly.Sedov@aplana.com> wrote in message news:eHVJHxwKFHA.2936@TK2MSFTNGP15.phx.gbl... > Thank you guys! I already thought about HTMLViewer. Actually I writing > application for testing people. So, I need control for show each question > from SQL CE database. Each question can contain some pictures in text. If > I > use HTMLViewer I'll need to store pictures and HTML text as files on disk > (memory) and point HTMLViewer to this location. It will be better if I > have > just some control to show text and pictures from memory (not from files). > I'll try to find control > > Thank you, > Vitaly Sedov > > "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message > news:%23bnQybtKFHA.1136@TK2MSFTNGP10.phx.gbl... >> If your text is static and will never be changed during application >> execution then just split your text on different labels that will gather >> round image. If text can be changed then you should consider Peter's >> suggestion to implement it as HTML text. >> >> Best regards, >> Sergey Bogdanov >> http://www.sergeybogdanov.com >> >> >> Vitaly Sedov wrote: >> > Good idea, but i need to insert images in the middle of the text. >> > For example: >> > >> > this is a first line of text >> > this is a text <image> and >> > text again. >> > >> > >> > Like you can do in word ![]() >> > >> > "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message >> > news:OtFczysKFHA.1136@TK2MSFTNGP10.phx.gbl... >> > >> >>What about using of PictureBox and Label? >> >> >> >>Best regards, >> >>Sergey Bogdanov >> >>http://www.sergeybogdanov.com >> >> >> >> >> >>Vitaly Sedov wrote: >> >> >> >>>Hello! >> >>> >> >>>I am writing an application for pocket pc 2003 using C#. >> >>>I need to show text with images in the text. Which user control I need >> > >> > to do >> > >> >>>this? >> >>> >> >>>Vitaly >> >>> >> >>> >> > >> > >> > > > |
|
|
|
#9 |
|
Guest
Posts: n/a
|
Thank you for response,
but it's not so easy to draw text with images manually, becouse images can be with different size and text should be well alligned. So, I f we have image on second string and image height is bigger than one string, we need additional space between strings and so on... Thank you, Mark "Mark Arteaga <MVP>" <marteaga_[at]_neotericsdc_[dot]_com> wrote in message news:OpOkSMxKFHA.2648@TK2MSFTNGP14.phx.gbl... > Sounds like the text will not be changed by the user and only will be > viewed. If this is correect then I would draw the text and the pictures > manually in a panel or something similar. > > > -- > Mark Arteaga > .NET Compact Framework MVP > http://www.neotericsdc.com | http://blog.markarteaga.com > > > > > "Vitaly Sedov" <Vitaly.Sedov@aplana.com> wrote in message > news:eHVJHxwKFHA.2936@TK2MSFTNGP15.phx.gbl... > > Thank you guys! I already thought about HTMLViewer. Actually I writing > > application for testing people. So, I need control for show each question > > from SQL CE database. Each question can contain some pictures in text. If > > I > > use HTMLViewer I'll need to store pictures and HTML text as files on disk > > (memory) and point HTMLViewer to this location. It will be better if I > > have > > just some control to show text and pictures from memory (not from files). > > I'll try to find control > > > > Thank you, > > Vitaly Sedov > > > > "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message > > news:%23bnQybtKFHA.1136@TK2MSFTNGP10.phx.gbl... > >> If your text is static and will never be changed during application > >> execution then just split your text on different labels that will gather > >> round image. If text can be changed then you should consider Peter's > >> suggestion to implement it as HTML text. > >> > >> Best regards, > >> Sergey Bogdanov > >> http://www.sergeybogdanov.com > >> > >> > >> Vitaly Sedov wrote: > >> > Good idea, but i need to insert images in the middle of the text. > >> > For example: > >> > > >> > this is a first line of text > >> > this is a text <image> and > >> > text again. > >> > > >> > > >> > Like you can do in word ![]() > >> > > >> > "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message > >> > news:OtFczysKFHA.1136@TK2MSFTNGP10.phx.gbl... > >> > > >> >>What about using of PictureBox and Label? > >> >> > >> >>Best regards, > >> >>Sergey Bogdanov > >> >>http://www.sergeybogdanov.com > >> >> > >> >> > >> >>Vitaly Sedov wrote: > >> >> > >> >>>Hello! > >> >>> > >> >>>I am writing an application for pocket pc 2003 using C#. > >> >>>I need to show text with images in the text. Which user control I need > >> > > >> > to do > >> > > >> >>>this? > >> >>> > >> >>>Vitaly > >> >>> > >> >>> > >> > > >> > > >> > > > > > > > |
|
|
|
#10 |
|
Guest
Posts: n/a
|
Using the HTMLViewer / WebBrowser control you can load the html from a
database by writing to the Source property. However your images would have to be stored as files either permanently or on the fly as you read each section out from the database to a temporary directory. Peter -- Peter Foot Windows Embedded MVP http://www.inthehand.com | http://blog.opennetcf.org/pfoot/ "Vitaly Sedov" <Vitaly.Sedov@aplana.com> wrote in message news:OLv6rcxKFHA.688@TK2MSFTNGP10.phx.gbl... > Thank you for response, > but it's not so easy to draw text with images manually, becouse images can > be with different size and text should be well alligned. > So, I f we have image on second string and image height is bigger than one > string, we need additional space between strings and so on... > > Thank you, Mark > > "Mark Arteaga <MVP>" <marteaga_[at]_neotericsdc_[dot]_com> wrote in > message > news:OpOkSMxKFHA.2648@TK2MSFTNGP14.phx.gbl... >> Sounds like the text will not be changed by the user and only will be >> viewed. If this is correect then I would draw the text and the pictures >> manually in a panel or something similar. >> >> >> -- >> Mark Arteaga >> .NET Compact Framework MVP >> http://www.neotericsdc.com | http://blog.markarteaga.com >> >> >> >> >> "Vitaly Sedov" <Vitaly.Sedov@aplana.com> wrote in message >> news:eHVJHxwKFHA.2936@TK2MSFTNGP15.phx.gbl... >> > Thank you guys! I already thought about HTMLViewer. Actually I writing >> > application for testing people. So, I need control for show each > question >> > from SQL CE database. Each question can contain some pictures in text. > If >> > I >> > use HTMLViewer I'll need to store pictures and HTML text as files on > disk >> > (memory) and point HTMLViewer to this location. It will be better if I >> > have >> > just some control to show text and pictures from memory (not from > files). >> > I'll try to find control >> > >> > Thank you, >> > Vitaly Sedov >> > >> > "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message >> > news:%23bnQybtKFHA.1136@TK2MSFTNGP10.phx.gbl... >> >> If your text is static and will never be changed during application >> >> execution then just split your text on different labels that will > gather >> >> round image. If text can be changed then you should consider Peter's >> >> suggestion to implement it as HTML text. >> >> >> >> Best regards, >> >> Sergey Bogdanov >> >> http://www.sergeybogdanov.com >> >> >> >> >> >> Vitaly Sedov wrote: >> >> > Good idea, but i need to insert images in the middle of the text. >> >> > For example: >> >> > >> >> > this is a first line of text >> >> > this is a text <image> and >> >> > text again. >> >> > >> >> > >> >> > Like you can do in word ![]() >> >> > >> >> > "Sergey Bogdanov" <sergey.bogdanov@gmail.com> wrote in message >> >> > news:OtFczysKFHA.1136@TK2MSFTNGP10.phx.gbl... >> >> > >> >> >>What about using of PictureBox and Label? >> >> >> >> >> >>Best regards, >> >> >>Sergey Bogdanov >> >> >>http://www.sergeybogdanov.com >> >> >> >> >> >> >> >> >>Vitaly Sedov wrote: >> >> >> >> >> >>>Hello! >> >> >>> >> >> >>>I am writing an application for pocket pc 2003 using C#. >> >> >>>I need to show text with images in the text. Which user control I > need >> >> > >> >> > to do >> >> > >> >> >>>this? >> >> >>> >> >> >>>Vitaly >> >> >>> >> >> >>> >> >> > >> >> > >> >> > >> > >> > >> >> > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 


