Description
Set the page background color temporary to the selected color.
Syntax
Page.SetTempBkColor(RGB(r,g,b)) Page.SetTempBkColor(-1) |
Example
Public Sub SwitchOffAllInvisibles()
' depending of the user preference, make the paper white (except for newspapers with colored paper)
Page.ViewShowGuidesVer(SwitchOff)
Page.ViewShowGuidesHor(SwitchOff)
Fred.ViewShowPrintableOnly(SwitchOn)
Page.ViewShowFrames(SwitchOff)
Page.ViewShowImg(SwitchOn)
' put paper to white
Page.SetTempBkColor(RGB(255, 255, 255))
End Sub
Public Sub SwitchOnAllInvisibles()
' depending on the user preference, show horizontal guides (if selected)
Page.ViewShowGuidesVer(SwitchOn)
Page.ViewShowGuidesHor(SwitchOn)
Fred.ViewShowPrintableOnly(SwitchOff)
Page.ViewShowFrames(SwitchOn)
Page.ViewShowImg(SwitchOn)
' put paper back to config color
Page.SetTempBkColor(-1)
End Sub
Context
Page designer