PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument 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 C1.C1Preview.UnitTypeEnum.Pixel.
The vertical destination resolution (DPI), required only if destType is C1.C1Preview.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 C1.C1Preview.C1PrintDocument.ResolvedUnit units so that it uses other C1.C1Preview.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 C1.C1Preview.UnitTypeEnum.Pixel.
    destDpiY
    The vertical destination resolution (DPI), required only if destType is C1.C1Preview.UnitTypeEnum.Pixel.
    See Also