Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GrayscaleBitmap Class / SetDpi Method / SetDpi(Single,Single) Method
The horizontal resolution.
The vertical resolution.

In This Topic
    SetDpi(Single,Single) Method
    In This Topic
    Changes the physical resolution of the image.
    Syntax
    'Declaration
     
    Public Overloads Sub SetDpi( _
       ByVal dpiX As System.Single, _
       ByVal dpiY As System.Single _
    ) 
    public void SetDpi( 
       System.float dpiX,
       System.float dpiY
    )

    Parameters

    dpiX
    The horizontal resolution.
    dpiY
    The vertical resolution.
    See Also