VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging Namespace / ImageSize Class / FromDeviceIndependedPixels(Single,Single) Method
Syntax Requirements SeeAlso
In This Topic
    FromDeviceIndependedPixels(Single,Single) Method (ImageSize)
    In This Topic
    Creates the new ImageSize from specified DIP-size.
    Syntax
    'Declaration
    
    Public Shared Function FromDeviceIndependedPixels( _
    ByVal width
    Image width, in millimeters.
    As Single, _
    ByVal height
    Image height, in millimeters.
    As Single _
    ) As ImageSize
    public static ImageSize FromDeviceIndependedPixels(
    float width,
    float height
    )
    public: static ImageSize* FromDeviceIndependedPixels(
    float width,
    float height
    )
    public:
    static ImageSize^ FromDeviceIndependedPixels(
    float width,
    float height
    )

    Parameters

    width
    Image width, in millimeters.
    height
    Image height, in millimeters.

    Return Value

    New instance of ImageSize class.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also