Partager via


SetOutputSize method

Sets the size of the scaled transform output.

Syntax

HRESULT retVal = object.SetOutputSize(OutSize, bMaintainAspect);

Parameters

  • OutSize [in]
    Type: const SIZE

    Size of the output to use for scaling.

  • bMaintainAspect [out]
    Type: BOOL

    BOOL that determines whether to preserve the aspect ratio of the source to scale. If TRUE, the output result is scaled to the specified size while preserving its aspect ratio. If FALSE, the input dimensions are stretched to match the output size.

See also

IDXTScale