ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / ART Component API Reference / ART Component Functions Reference / Rotation Functions / ART_enable_rotation_get
In This Topic
    ART_enable_rotation_get
    In This Topic

    This function determines whether rotation is possible for an annotation.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ART_enable_rotation_get (
            HIGEAR hIGear,
            LPBOOL lpbEnable
    );
    

    Arguments:

    Name Type Description
    hIGear HIGEAR HIGEAR handle to the image.
    lpbEnable LPBOOL A pointer to BOOL value.

    Return Value:

    Returns the number of ImageGear errors that occurred during the function call.

    Supported Raster Image Formats:

    All pixel formats supported by ImageGear for C and C++.

    Sample:

    None

    Example:

     
    Copy Code
    HIGEAR hIGear;  /* HIGEAR handle of Image */
    AT_ERRCOUNT nErrCount; /* Tally of IG errors on stack */
    BOOL bEnable;
    nErrCount = ART_enable_rotation_get (hIGear,&bEnable);
    

    Remarks:

    A value of TRUE allows rotation; a FALSE value does not allow rotation. The default is TRUE.