ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / MappingMode Enumeration

In This Topic
    MappingMode Enumeration
    In This Topic
    Defines the unit of measure used to transform page-space units into device-space units, and also defines the orientation of the device's x and y axes.
    Syntax
    'Declaration
     
    
    Public Enum MappingMode 
       Inherits System.Enum
    public enum MappingMode : System.Enum 
    Members
    MemberDescription
    AnisotropicLogical units are mapped to arbitrary units with arbitrarily scaled axes. Use the WindowExtent and ViewportExtent properties to specify the units, orientation, and scaling.
    HiEnglishEach logical unit is mapped to 0.001 inch. Positive x is to the right; positive y is up.
    HiMetricEach logical unit is mapped to 0.01 millimeter. Positive x is to the right; positive y is up.
    IsotropicLogical units are mapped to arbitrary units with equally scaled axes; that is, one unit along the x-axis is equal to one unit along the y-axis. Use the WindowExtent and ViewportExtent properties to specify the units and the orientation of the axes. Graphics device interface (GDI) makes adjustments as necessary to ensure the x and y units remain the same size (When the window extent is set, the viewport will be adjusted to keep the units isotropic).
    LoEnglishEach logical unit is mapped to 0.01 inch. Positive x is to the right; positive y is up.
    LoMetricEach logical unit is mapped to 0.1 millimeter. Positive x is to the right; positive y is up.
    TextEach logical unit is mapped to one device pixel. Positive x is to the right; positive y is down.
    TwipsEach logical unit is mapped to one twentieth of a printer's point (1/1440 inch, also called a twip). Positive x is to the right; positive y is up.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Framework.Drawing.Gdi.DeviceContexts.MappingMode

    See Also