[Gtk-sharp-list] Gnome.Print (and Pango)

Milton Pividori miltondp at gmail.com
Thu May 25 14:49:52 EDT 2006

I need to learn how to use Gnome.Print. I started in the mono
docs[1]. It's unfinished, however it helped me. Looking on some related
lists, I learned to do this:

Print.Setfont(cont, fuente);
Print.Moveto(cont, X, Y);
Print.Show(cont, texto);

(Wow! you'll say) This is very simple. Now I need to know what's the
width and height of the printed text (I use different fonts), because I
have, for example, to center it in a cell. Reading more, I found out I
have to use Pango (tell me if I am wrong).

I looked for that in this list, and I found something about it.
However, some is a bit old, or it's not what I am looking for.

Having no idea where to go on looking for, I was playing with some
combinations of methods shown in mono docs, but.... nothing.

May you tell me where to find documentation about Gnome.Print and
Pango? Or a short example on how to use it?

Thank you.

[1] http://www.go-mono.com/docs/

Milton Pividori
Mi blog: http://www.miltonpividori.com.ar
Jabber ID: milton.pividori at jabberes.org

More information about the Gtk-sharp-list mailing list