From c5164f693e8468a022e2b67add63b653b889cac9 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 1 Jul 2000 13:59:22 +0000 Subject: Added print magnification and print light invert. --- doc/ScintillaDoc.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 9aaa71d14..6c652e614 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -748,11 +748,21 @@ SCI_STOPRECORD
 EM_FORMATRANGE
+SCI_SETPRINTMAGNIFICATION(int magnification)
+SCI_GETPRINTMAGNIFICATION
+SCI_SETPRINTINVERTLIGHT(bool invert)
+SCI_GETPRINTINVERTLIGHT
 

On Windows EM_FORMATRANGE can be used to draw the text onto a display context which can include a printer display context.

+

+ To print at a different size than drawing on screen use SCI_SETPRINTMAGNIFICATION with + a value which is the number of points to add to each style. -3 or -4 gives reasonable small print. + If a black background is used on the screen then it is best to invert the light value of all colours + with SCI_SETPRINTINVERTLIGHT when printing to give a white bavkground. +

Multiple Views

-- cgit v1.2.3