<< Return to Main Index

< Return to Class Index

CGXFont::SetOrientation

CGXFont& SetOrientation(LONG nOrientation);

nOrientation

Integer specifying the angle in tenth of degress. Valid values are 0 to 3600. Negative values will be converted to a normal angle (3600 will be added).

Return Value

Returns a reference to the font object.

Remarks

Initializes the font orientation.

Note: If needed, you can add support for rotated text in the font page by adding a combobox with style set to "Simple" to the IDD_DIALOG_FONTPAGE template. When you specify IDC_GXCBORIENTATION as id for this combobox, the font page will let the user change the orientation through this combobox.

CGXFont

Class Overview | Class Members