SOEMBEDDEDGRAPHICSOEMBEDDEDGRAPHIC*
*Contents  *Index  *Topic Contents
*Previous Topic: SODATACELL
*Next Topic: SOEMBEDDEDOBJECT

SOEMBEDDEDGRAPHIC

Contains information about the size and positioning of an embedded graphics object.

Syntax

typedef struct SOEMBEDDEDGRAPHICtag {
    SOPOINT Size; 
    SORECT Crop; 
    SOPOINT ScaledSize; 
    WORD wBorder; 
    DWORD dwFlags; 
} SOEMBEDDEDGRAPHIC;

Members

Size
Initial size of the image before scaling and cropping.
Crop
Cropping amount on the top, bottom, left, and right edges.
ScaledSize
Final size of the image after scaling and cropping.
wBorder
Border thickness, in TWIPs. If this member is zero, there is no border.
dwFlags
Flags. This member can be one or both of these values:
SO_CENTERIMAGEThe image is centered in its final rectangle.
SO_MAINTAINASPECT   The image aspect ratio is preserved.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.