F-IN-BOX DLL Edition Help >> Native Flash ActiveX Interface >> Methods

Zoom

Description

Zoom the view by a relative scale factor. Zoom(50) will double the size of the objects in the view. Zoom(200) will reduce the size of objects in the view by one half.

Message

[ C++ ]
FPCM_ZOOM

Structure

[ C++ ]
struct SFPCZoom
{
    // [in]
    int factor;


    // [out]
    HRESULT hr;
};

Example

[ C++ ]
void InvokeZoom(HWND hwndFlashPlayerControl, int factor)
{
    SFPCZoom info;


    info.factor = factor;


    ::SendMessage(hwndFlashPlayerControl, FPCM_ZOOM, 0, (LPARAM)&info);


    if FAILED(info.hr)
        // Error
    {
            // ...
    }
    else
        // OK
    {

        // ...

    }
}

Flash versions

3: supported
4: supported
5: supported
6: supported
7: supported
8: supported
9: supported



Copyright © Softanics. All rights reserved.
F-IN-BOX is a trademark of Softanics.
Macromedia and Shockwave Flash are trademarks of Adobe