Print Preview ActiveX Active Users: 74 / Visits Today: 1342
Highest Active Users: 273
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 ShowPrintableColor - Property
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: ShowPrintable - Property Topic Next Topic: ShowFindButton - Property  


327 Posts

Posted - 07/24/2005 :  11:25:37  Show Profile
Property ShowPrintableColor


This property sets or returns the color of the lines of the border which indicate the printable area.


ShowPrintableColor [ = cColor As OLE_COLOR] As OLE_COLOR

The cColor can have the following values :
Constant   Hex       Decimal 
vbBlack    &H0       0 
vbRed      &HFF      255 
vbGreen    &HFF00    65280 
vbYellow   &HFFFF    65535 
vbBlue     &HFF0000  16711680 
vbMagenta  &HFF00FF  16711935 
vbCyan     &HFFFF00  16776960 
vbWhite    &HFFFFFF  16777215

Any color value can be used that is defined by OLE_COLOR

If ShowPrintable = True then with ShowPrintableColor the bounding line of the border is drawn in the specified color.


To set the bounding lines as green:

Preview.ShowPrintableColor = vbGreen

See also:

ShowPrintable ->

Come and visit :

Edited by - emiel on 07/24/2005 11:28:55
Go to Bottom of Page
  Previous Topic: ShowPrintable - Property Topic Next Topic: ShowFindButton - Property  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02