Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

ScaleModeConstants Class

Provides constants that map Visual Basic 6.0 ScaleMode constants to their .NET Framework equivalents.

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

[StandardModuleAttribute]
public sealed class ScaleModeConstants

Visual Basic 6.0 used constants to represent different scaling modes; Visual Basic 2008 has no equivalent. These constants are used during upgrade to handle scaling operations.

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 2008. 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.

System.Object
  Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6.ScaleModeConstants

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

Community Additions

ADD
Show:
© 2015 Microsoft