PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / FromRU Method / FromRU(Region,UnitTypeEnum,Single,Single) Method
The System.Drawing.Region to scale.
The destination units to use.
The horizontal destination resolution (DPI), required only if destType is UnitTypeEnum.Pixel.
The vertical destination resolution (DPI), required only if destType is UnitTypeEnum.Pixel.

In This Topic
    FromRU(Region,UnitTypeEnum,Single,Single) Method
    In This Topic
    Transforms (scales) a System.Drawing.Region object expressed in the current document's ResolvedUnit units so that it uses other UnitTypeEnum units.
    Syntax
    'Declaration
     
    Public Overloads Sub FromRU( _
       ByVal region As Region, _
       ByVal destType As UnitTypeEnum, _
       ByVal destDpiX As Single, _
       ByVal destDpiY As Single _
    ) 
    public void FromRU( 
       Region region,
       UnitTypeEnum destType,
       float destDpiX,
       float destDpiY
    )

    Parameters

    region
    The System.Drawing.Region to scale.
    destType
    The destination units to use.
    destDpiX
    The horizontal destination resolution (DPI), required only if destType is UnitTypeEnum.Pixel.
    destDpiY
    The vertical destination resolution (DPI), required only if destType is UnitTypeEnum.Pixel.
    See Also