Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IPrintOptions Interface / PrinterOrientation Property


In This Topic
    PrinterOrientation Property (IPrintOptions)
    In This Topic
    Returns or specifies the default page orientation used to print host documents.
    Syntax
    'Declaration
     
    
    Property PrinterOrientation As PrinterOrientationOption
    'Usage
     
    
    Dim instance As IPrintOptions
    Dim value As PrinterOrientationOption
     
    instance.PrinterOrientation = value
     
    value = instance.PrinterOrientation
    PrinterOrientationOption PrinterOrientation {get; set;}
    Exceptions
    ExceptionDescription
    This exception is thrown when you modify a property that was secured via the Permissions Manager, or that can only be modified by an Administrator.
    Remarks
    • Uses the page orientation sent down from the host to print the document.
    • Forces the page orientation to landscape mode (11" x 8.5"), regardless of how the document is configured on the host.
    • Forces the page orientation to portrait mode (8.5" x 11"), regardless of how the document is configured on the host.
    See Also