pampitasnowman
12-02-2005, 15:39:25
Hola a todos! Hay alguna forma de enganchar un RichEdit con un PageSetupDialog? El código con el que mando a imprimir el RichEdit es el siguiente:
if PrintDialog1.Execute then
begin
with RichEdit1 do
begin
SelAttributes.Style := [fsBold];
SelAttributes.Size := 10;
Print;
end
end
Lo que quiero lograr es que se pueda seleccionar el tamaño de hoja, como asi también el tamaño de los bordes. Muchas gracias.
if PrintDialog1.Execute then
begin
with RichEdit1 do
begin
SelAttributes.Style := [fsBold];
SelAttributes.Size := 10;
Print;
end
end
Lo que quiero lograr es que se pueda seleccionar el tamaño de hoja, como asi también el tamaño de los bordes. Muchas gracias.