Click here for NewsObjects Overview
NumLinesPertItem Property (Headline Control)
Windows - Visual C++


Description
The NumLinesPerItem property returns or sets the number of lines per headline item that are displayed in the control.

Syntax
short value = GetNumLinesPerItem();
void SetNumLinesPerItem(short value);

The NumLinesPerItem syntax has these parts:

 Part

Description

value

A Short integer containing the number of lines per headline item that are displayed in the control. 1 and 2 are the only legal values for this property, as described in Remarks.

Remarks
If the NumLinesPerItem property is set to 1 and a headline is too long to be completely displayed in the headline column, it is truncated. If this property is set to 2, then the headline is wrapped to the second line.

Back to: Headline Properties