Print Preview ActiveX Active Users: 55 / Visits Today: 145
Highest Active Users: 55
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
 Output - Property
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: OutputFile - Property Topic Next Topic: Orientation - Property  

emiel
Administrator

Belgium
327 Posts

Posted - 07/20/2005 :  11:54:22  Show Profile
Property Output

Action:

This property sets a value indicating how the preview's output is to be processed.

Syntax:

Output [ = vOutput As OutputType]

The vOutput parameter can contain the following values:

Constant             Value  Description                                            
  • prOTPrinter 0 Output is sent directly to the printer without a preview
  • prOTScreen 1 Output is previewed on screen
  • prOTStructured 2 Output is saved as a structured file
  • prOTTextFile 3 Output is saved as a text file
  • prOTRTFFile 4 Output is saved as a Rich Text file
  • prOTHTMLFile 5 Output is saved as a HTML file
  • prOTPrinterDialog 6 Output is sent directly to printer preceded by printer dialog
  • prOTDefault 7 ??
    Remarks:

    In those cases where the output is saved as a file, the name of the file is defined by the OutputFile property.

    The Output value can be set in the EndDocument method if desired.

    Example:

    To display output with a screen preview:

    Preview.Output = prOTScreen
    Preview.AddText "a line of text"
    Preview.EndDocument

    or

    Preview.AddText "a line of text"
    Preview.EndDocument prOTScreen

    See also:

    OutputFile
    EndDocument --> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=363

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



    Go to Bottom of Page
      Previous Topic: OutputFile - Property Topic Next Topic: Orientation - 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