<< Return to Main Index

< Return to Class Index

CGXGridParam::GetGridLineStyle

UINT GetGridLineStyle() const;

Return Value

Returns the pen type used for drawing grid lines:

·PS_SOLID - Solid pen.
·PS_DASH - Dashed pen. (Valid only when the pen width is 1.)
·PS_DOT - Dotted pen. (Valid only when the pen width is 1.)
·PS_DASHDOT - Pen with alternating dashes and dots. (Valid only when the pen width is 1.)
·PS_DASHDOTDOT  - Pen with alternating dashes and double dots. (Valid only when the pen width is 1.)

Remarks

Use this setting to change the default appearance of grid lines.

Note: If you have implemented custom drawing of grid lines by overriding the method DrawGridLine, the grid line style must be PS_SOLID. Otherwise, your DrawGridLine override will not be called.

See Also

CGXGridParam::SetNewGridLineMode

CGXGridParam

Class Overview | Class Members