In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Setting paper in Rich text
Setting paper in Rich text
Can I setting paper source and orientation by program into Rich Text control (TRichEdit) ?
Setting paper in Rich text
You can use the PageDlg() method.
Regards,
Regards,
Setting paper in Rich text
Yes. I can use this but customer must set by PageDlg I want set A4 and landscape mode without customer must do anything,
Setting paper in Rich text
You can try to use the Printer object and modify some of its properties such
as nPaperSizeType, nPaperLength, nPaperWidth and Orientation.
After doing it, you should call the CalcPageWidth() method of the TRichEdit
class.
Regards,
as nPaperSizeType, nPaperLength, nPaperWidth and Orientation.
After doing it, you should call the CalcPageWidth() method of the TRichEdit
class.
Regards,
Setting paper in Rich text
I not see CalcPageWidth() method in TRichEdit. please send me parameters of this method
Setting paper in Rich text
Thank you. I set printer:nPrinterSizeType := 9 for A4 and work OK