Prev Next

SOEMBEDDEDGRAPHIC

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

typedef struct SOEMBEDDEDGRAPHICtag {

    SOPOINT Size;       // see below

    SORECT Crop;        // see below

    SOPOINT ScaledSize; // see below

    WORD wBorder;       // see below

    DWORD dwFlags;      // see below

} 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 a combination of these values:

SO_CENTERIMAGE

The image is centered in its final rectangle.

SO_MAINTAINASPECT

The image aspect ratio is preserved.