Print Preview ActiveX Active Users: 14 / Visits Today: 104
Highest Active Users: 15
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
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  

emiel
Administrator

Belgium
327 Posts

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

Action:

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

Syntax:

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
Remarks:

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.

Example:

To set the bounding lines as green:

Preview.ShowPrintableColor = vbGreen

See also:

ShowPrintable -> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=463

Come and visit :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com

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