IDXTScaleOutput::SetOutputSize Method

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.

Sets the size of the scaled transform output.

Syntax


HRESULT SetOutputSize(
    const SIZE OutSize,
    BOOL bMaintainAspect
);

Parameters

OutSize
[in] Size of the output to use for scaling.
bMaintainAspect
[out] 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.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

See Also

IDXTScale

Community Additions

ADD
Show:
© 2014 Microsoft