TerminalWidth Method

This member of RFTerminal Object is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.

The TerminalWidth method will return the maximum width in characters of an RF device's display.

VB

nWidth = object.TerminalWidth ()

VC++

HRESULT hr = object->TerminalWidth(short *nWidth);

Return Value

nWidth

The terminal display width variable. This method will return a -1 if an error occurs. Use the RFGetLastError method to return the generated error message.

Remarks

For network efficiency purposes, the settings within the RFTerminal object are initially only set when the object is first created. Therefore, to return the most current information you must first use the ReadTerminalInfo Method which will update the RFTerminal object with the latest device settings before making a call to any other methods.

Example

See the TerminalHeight Method.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal