ScaleMode ScaleMode ScaleMode ScaleMode Enum

定义

警告

此 API 现已过时。

提供常量以与 Visual Basic 6.0 中的 ScaleMode 常量保持兼容。Provides constants for compatibility with the ScaleMode constants in Visual Basic 6.0.

public enum class ScaleMode
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public enum ScaleMode
type ScaleMode = 
Public Enum ScaleMode
继承
属性

字段

Centimeters Centimeters Centimeters Centimeters 7

等效于 Visual Basic 6.0 常量 vbCentimetersEquivalent to the Visual Basic 6.0 constant vbCentimeters.

Characters Characters Characters Characters 4

等效于 Visual Basic 6.0 常量 vbCharactersEquivalent to the Visual Basic 6.0 constant vbCharacters.

Himetric Himetric Himetric Himetric 8

等效于 Visual Basic 6.0 常量 vbHimetricEquivalent to the Visual Basic 6.0 constant vbHimetric.

Inches Inches Inches Inches 5

等效于 Visual Basic 6.0 常量 vbInchesEquivalent to the Visual Basic 6.0 constant vbInches.

Millimeters Millimeters Millimeters Millimeters 6

等效于 Visual Basic 6.0 常量 vbMillimetersEquivalent to the Visual Basic 6.0 constant vbMillimeters.

Points Points Points Points 2

等效于 Visual Basic 6.0 常量 vbPointsEquivalent to the Visual Basic 6.0 constant vbPoints.

注解

在 Visual Basic 6.0ScaleMode常量用于表示各种度量单位ScaleMode属性。In Visual Basic 6.0, ScaleMode constants were used to represent various units of measurement for the ScaleMode property. 在 Visual Basic 中ScaleMode属性不再受支持,并且不再需要这些常量。In Visual Basic, the ScaleMode property is no longer supported, and these constants are no longer necessary. 这些常量可以使已从 Visual Basic 6.0 中继续运行而无需其他修改升级的代码。These constants enable code that has been upgraded from Visual Basic 6.0 to continue to run without additional modification.

备注

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. 大多数情况下,这些函数和对象可再现 .NET Framework.NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

适用于