MaxLines Property

The maximum number of message lines aside from headers to retrieve.

Syntax

ANSI (Cross Platform)
int64 GetMaxLines();
int SetMaxLines(int64 lMaxLines); Unicode (Windows) LONG64 GetMaxLines();
INT SetMaxLines(LONG64 lMaxLines);
@property (nonatomic,readwrite,assign,getter=maxLines,setter=setMaxLines:) long long maxLines;
- (long long)maxLines;
- (void)setMaxLines:(long long)newMaxLines;
#define PID_NNTP_MAXLINES 43

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_NNTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_NNTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

This property is used to limit the number of text lines aside from headers retrieved for messages. This property is used in conjunction with the ArticleText property. Please note that due to NNTP protocol limitations, the full text of the article is always retrieved from the server, but only MaxLines will be stored in ArticleText.

The default value of the property is 0. In this case the entire message will be retrieved, without interruptions.

This property is not available at design time.

Data Type

Long64

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]