Share via


PrinterObjectConstants Class

Provides constants that map Visual Basic 6.0 Printer constants to their PrinterSettings equivalents.

Inheritance Hierarchy

Object
  Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6.PrinterObjectConstants

Namespace:  Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'Declaration
<StandardModuleAttribute> _
Public NotInheritable Class PrinterObjectConstants
[StandardModuleAttribute]
public sealed class PrinterObjectConstants
[StandardModuleAttribute]
public ref class PrinterObjectConstants sealed
[<Sealed>]
[<StandardModuleAttribute>]
type PrinterObjectConstants =  class end
public final class PrinterObjectConstants

The PrinterObjectConstants type exposes the following members.

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member vbPRBNAuto Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNCassette Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNEnvelope Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNEnvManual Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNLargeCapacity Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNLargeFmt Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNLower Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNManual Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNMiddle Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNSmallFmt Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNTractor Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRBNUpper Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRCMColor Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRCMMonochrome Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRDPHorizontal Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRDPSimplex Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRDPVertical Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRORLandscape Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRORPortrait Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPQDraft Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPQHigh Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPQLow Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPQMedium Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPS10x14 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPS11x17 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSA3 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSA4 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSA4Small Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSA5 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSB4 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSB5 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSCSheet Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSDSheet Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnv10 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnv11 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnv12 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnv14 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnv9 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvB4 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvB5 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvB6 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvC3 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvC4 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvC5 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvC6 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvC65 Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvDL Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvItaly Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvMonarch Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSEnvPersonal Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSESheet Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSExecutive Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSFanfoldLglGerman Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSFanfoldStdGerman Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSFanfoldUS Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSFolio Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSLedger Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSLegal Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSLetter Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSLetterSmall Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSNote Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSQuarto Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSStatement Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSTabloid Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.
Public fieldStatic member vbPRPSUser Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent.

Top

Remarks

Visual Basic 6.0 used constants to represent printer settings; Visual Basic uses the PrinterSettings equivalents class.

Note

Functions and objects in the Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6 Namespace

Other Resources

Printer Compatibility Library

How to: Fix Upgrade Errors by Using the Printer Compatibility Library (Visual Basic)

Deploying Applications That Reference the Printer Compatibility Library