Unicode Controls & Classes for VB6 - Version 4

ctlUniRichTextBoxXP.GetContents Function

Gets the content of the control

Syntax
Public Function GetContents (ByVal iFlags As eCtlRichTextBox_GetContents, _
ByVal bForSelection As Boolean, _
Optional ByVal bUseCodePage As Boolean = False, _
Optional ByVal lCodePage As Long = 0&) As String
Parameters
Parameter Description
ByVal iFlags As eCtlRichTextBox_GetContents Flags
ByVal bForSelection As Boolean True for using only the selection, False for the entire text
Optional ByVal bUseCodePage As Boolean = False True for using the specified CodePage, False to use the default
Optional ByVal lCodePage As Long = 0& The codepage to use
Remarks