Vector Attribute Values

SO_SELECTFONT

Selects the given font. dwDataSize must be sizeof(SOLOGFONT), and pData must be the address of a SOLOGFONT structure.

SO_SELECTPEN

Selects the given pen. dwDataSize must be sizeof(SOLOGPEN), and pData must be the address of a SOLOGPEN structure.

SO_SELECTBRUSH

Selects the given brush. dwDataSize must be sizeof(SOLOGBRUSH), and pData must be the address of a SOLOGBRUSH structure.

SO_POLYFILLMODE

Sets the polygon-filling mode. dwDataSize must be sizeof(INT), and pData must be the address of a variable containing either the SOPF_ALTERNATE or SOPF_WINDING value.

SO_TEXTCHAREXTRA

Sets the text character extra value. dwDataSize must be sizeof(INT), and pData must be the address of a variable containing a value. This attribute affects text objects.

SO_DRAWMODE

Sets the drawing mode used when drawing the pen and interiors. dwDataSize must be sizeof(INT), and pData must be the address of a variable containing one of these values:

SOR2_BLACK SOR2_NOT
SOR2_COPYPEN SOR2_NOTCOPYPEN
SOR2_MASKNOTPEN SOR2_NOTMASKPEN
SOR2_MASKPEN SOR2_NOTMERGEPEN
SOR2_MASKPENNOT SOR2_NOTXORPEN
SOR2_MERGENOTPEN SOR2_WHITE
SOR2_MERGEPEN SOR2_XORPEN
SOR2_NOP  

SO_TEXTCOLOR

Sets the foreground color. dwDataSize must be sizeof(SOCOLORREF), and pData must be the address of a variable containing a RGB or palette-relative color value. To set this value, use the SORGB or SOPALETTE macro.

SO_BKMODE

Sets the background mode. dwDataSize must be sizeof(INT), and pData must be the address of a variable containing either the SOBK_OPAQUE or SOBK_TRANSPARENT value.

SO_BKCOLOR

Sets the background color used for styled lines, hatched brushes, and text when the background mode is SOBK_OPAQUE. dwDataSize must be sizeof(SOCOLORREF), and pData must be the address of a variable containing an RGB or palette-relative color value. To set this value, use the SORGB or SOPALETTE macro.

SO_OBJECTTRANSFORM

Sets object transformations. dwDataSize must be sizeof (INT) added to nCount*sizeof(SOTRANSFORM), and pData must be one INT (nCount) followed by that number of SOTRANSFORM structures. The transformations will occur in the order supplied.

SO_CLIPMODE

Sets the clipping mode. dwDataSize must be sizeof(WORD), and pData must be the address of a variable containing either the SO_DONOTCLIP or SO_CLIPTOPATH value.

SO_POINTRELATION

Sets the coordinate orientation. dwDataSize must be sizeof(INT), and pData must be the address of a variable containing the SOPR_ABSOLUTE or SOPR_RELATIVE value.

SO_PARAINDENTS

Sets the paragraph indents within a text frame, defining the first, left, and right indents of paragraph text being built into the frame. These values are only valid when within a text frame. All values are in the current coordinate system. dwDataSize must be sizeof(SOPARAINDENTS), and pData must be the address of a SOPARAINDENTS structure.

SO_PARAALIGN

Sets the alignment of paragraph text being built into a text frame. dwDataSize must be sizeof(WORD), and pData must be the address of a 16-bit variable containing the SO_ALIGNLEFT, SO_ALIGNCENTER, SO_ALIGNRIGHT, or SO_ALIGNJUSTIFY value.