[]
        
(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)
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)
Parameters
Type Name Description
int widthRef
int heightRef