Share via


IImageEncoder::SetFrameDimension (Windows CE 5.0)

Send Feedback

This method is used to set the active frame dimension when encoding a multiframe image.

HRESULT SetFrameDimension(  const GUID* dimensionID);

Parameters

  • dimensionID
    [in] A pointer to a GUID specifying the dimension for the frame.

    Set this value to a multiframe dimension identifier. For more information, see Imaging GUIDs.

Return Values

If successful, this method returns S_OK.

This method may return E_FAIL if it fails.

Remarks

The following pseudo code shows how an application might encode a multiframe image.

encoder->SetFrameDimension(FRAMEDIM_PAGE);
encode page 1
encoder->SetFrameDimension(FRAMEDIM_RESOLUTION)
encode page 2.1
encode page 2.2
encoder->SetFrameDimension(FRAMEDIM_PAGE);
encode page 3

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
Link Library: Imaging.lib.

See Also

IImageEncoder | Imaging GUIDs

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.