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 | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
vbPRBNAuto | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNCassette | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNEnvelope | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNEnvManual | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNLargeCapacity | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNLargeFmt | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNLower | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNManual | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNMiddle | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNSmallFmt | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNTractor | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRBNUpper | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRCMColor | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRCMMonochrome | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRDPHorizontal | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRDPSimplex | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRDPVertical | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRORLandscape | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRORPortrait | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPQDraft | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPQHigh | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPQLow | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPQMedium | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPS10x14 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPS11x17 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSA3 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSA4 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSA4Small | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSA5 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSB4 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSB5 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSCSheet | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSDSheet | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnv10 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnv11 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnv12 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnv14 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnv9 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvB4 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvB5 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvB6 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvC3 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvC4 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvC5 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvC6 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvC65 | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvDL | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvItaly | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvMonarch | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSEnvPersonal | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSESheet | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSExecutive | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSFanfoldLglGerman | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSFanfoldStdGerman | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSFanfoldUS | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSFolio | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSLedger | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSLegal | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSLetter | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSLetterSmall | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSNote | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSQuarto | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSStatement | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
vbPRPSTabloid | Maps the Visual Basic 6.0 Printer constant to its PrinterSettings equivalent. | |
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
How to: Fix Upgrade Errors by Using the Printer Compatibility Library (Visual Basic)
Deploying Applications That Reference the Printer Compatibility Library