[]
        
(Showing Draft Content)

C1.Util.DX.WIC.BitmapSourceTransform.GetClosestSize

GetClosestSize Method

GetClosestSize(ref Size2L)

Returns the closest dimensions the implementation can natively scale to given the desired dimensions.

Declaration
public void GetClosestSize(ref Size2L size)
Public Sub GetClosestSize(ByRef size As Size2L)
Parameters
Type Name Description
Size2L size

The size.

GetClosestSize(ref int, ref int)

HRESULT IWICBitmapSourceTransform::GetClosestSize([InOut] unsigned int* puiWidth,[InOut] unsigned int* puiHeight)

Declaration
public void GetClosestSize(ref int widthRef, ref int heightRef)
Public Sub GetClosestSize(ByRef widthRef As Integer, ByRef heightRef As Integer)
Parameters
Type Name Description
int widthRef
int heightRef