CesarCh
Wed Mar 23 15:33:04 CST 2005
Great !
That was exactly what I was looking for.
Best regards
Cesar Chalom
"Mike Gagnon" wrote:
>
http://www.ftponline.com/vsm/2002_10/online/csharp_bwagner_10_31_02/
>
http://support.microsoft.com/kb/q154515/
>
> "Cesar Ch" <CesarCh@discussions.microsoft.com> wrote in message
> news:FE657B82-815F-4D84-9A9C-F771DAB902CA@microsoft.com...
> > Thanks again Mike, but it does not access the API in a visible way...
> > I think it's easier to ask people from .NET newsgroups, once they are more
> > used to GDI+
> >
> > Best Regards
> >
> > Cesar
> >
> > "Mike Gagnon" wrote:
> >
> >> Then I would suggest you take a look at this article (a portion of it
> >> talk
> >> about rotating text on a report). Although it for VFP9.0, the report _GDI
> >> class is only a wrapper class to access the GDI Flat APIs .
> >>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen9/html/VFP9Reports1.asp
> >>
> >> "Cesar Ch" <CesarCh@discussions.microsoft.com> wrote in message
> >> news:DF864928-F48C-4CC8-85F5-F625D33D579A@microsoft.com...
> >> > Sorry Mike, I forgot to tell you that I'm still using VFP7.
> >> > I'm accessing GDI+ directly throug the FlatAPI gdiplus.dll, with the
> >> > help
> >> > of
> >> > GPIMAGE from Alex Golovlev.
> >> >
> >> > I want to print vertically in some reports, so I created a UDF to
> >> > create a
> >> > BMP with the desired String...
> >> >
> >> > In the "file" of the Picture in the report designer I can put :
> >> > (HorText("My Text","Arial",14,nDirection))
> >> > This UDF returns the fullpath of the temporary bitmap created by the
> >> > function
> >> > So, the report prints my Text !
> >> >
> >> > It is really working fine, I just need to make some final adjustments
> >> >
> >> > Thanks again !
> >> > Cesar
> >> >
> >> > "Mike Gagnon" wrote:
> >> >
> >> >> I didn't suggest GdipImageRotateFlip, I was suggesting you can change
> >> >> the
> >> >> direction of text being place on a form or a report and shape
> >> >> etc....Using
> >> >> GDI+
> >> >> Are you tring to rotate text on a form or a report?
> >> >>
> >> >>
> >> >> "Cesar Ch" <CesarCh@discussions.microsoft.com> wrote in message
> >> >> news:DEA2E3DE-7E76-41BA-B58F-15C9241E2C67@microsoft.com...
> >> >> > Mike and Lee,
> >> >> > Thank you for your answers.
> >> >> >
> >> >> > But from what I understood, GdipImageRotateFlip must be used to
> >> >> > rotate
> >> >> > the
> >> >> > whole image, not the desired text.... or am I wrong ?
> >> >> >
> >> >> > I can use GdipImageRotateFlip successfully, only with the main image
> >> >> > handle.
> >> >> > Is there any other method to do this ? My problem is that I want to
> >> >> > rotate
> >> >> > 270 degrees...
> >> >> >
> >> >> > Thanks again !
> >> >> > Cesar
> >> >> >
> >> >> > "Mike Gagnon" wrote:
> >> >> >
> >> >> >> > But I need the vertical text in another direction...
> >> >> >>
> >> >> >> What direction did you have in mind? With GDI+ you can flip you
> >> >> >> text
> >> >> >> 90->360
> >> >> >> if you want.
> >> >> >>
> >> >> >>
> >> >> >> "Cesar Ch" <Cesar Ch@discussions.microsoft.com> wrote in message
> >> >> >> news:18326E6F-FF53-4184-A8A7-C7D36975F5ED@microsoft.com...
> >> >> >> > Hi !
> >> >> >> > Can someone help me to draw a vertical text ?
> >> >> >> > I've already "translated" some commands from .NET, using
> >> >> >> > GDIPDRAWSTRING,
> >> >> >> > with vertical alignment using SetFormatFlags
> >> >> >> >
> >> >> >> > GdipCreateStringFormat with the parameter of 2 -
> >> >> >> > #define GDIPLUS_STRINGFORMATFLAGS_DirectionVertical 2
> >> >> >> >
> >> >> >> > But I need the vertical text in another direction...
> >> >> >> > I used the example below to translate to VFP, there u can see the
> >> >> >> > image
> >> >> >> > I'm
> >> >> >> > getting.
> >> >> >> >
> >> >> >> >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdicpp/GDIPlus/GDIPlusreference/flatstringformat.asp
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>