VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging Namespace / ImageSize Class / FromPixels(Int32,Int32,Resolution) Method
Syntax Requirements SeeAlso
In This Topic
    FromPixels(Int32,Int32,Resolution) Method (ImageSize)
    In This Topic
    Creates the new ImageSize from specified pixel-size and Resolution.
    Syntax
    'Declaration
    
    Public Shared Function FromPixels( _
    ByVal width
    Image width, in pixels.
    As System.Int32, _
    ByVal height
    Image height, in pixels.
    As System.Int32, _
    ByVal resolution
    Resolution.
    As Resolution _
    ) As ImageSize
    public static ImageSize FromPixels(
    System.Int32 width,
    System.Int32 height,
    Resolution resolution
    )
    public: static ImageSize* FromPixels(
    System.Int32 width,
    System.Int32 height,
    Resolution resolution
    )
    public:
    static ImageSize^ FromPixels(
    System.Int32 width,
    System.Int32 height,
    Resolution resolution
    )

    Parameters

    width
    Image width, in pixels.
    height
    Image height, in pixels.
    resolution
    Resolution.

    Return Value

    New instance of ImageSize class.
    Requirements

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

    See Also