Okapi .NET Library

IFilterItem.SetRTFOptions Method 

 [This is preliminary documentation and subject to change.]

Sets the options for the RTF formatting.

[Visual Basic]
Sub SetRTFOptions( _ 
   ByVal p_sRTFStartInLine As String, _ 
   ByVal p_sRTFStartProtected As String _ 
)
[C#]
void SetRTFOptions(
   string p_sRTFStartInLine,
   string p_sRTFStartProtected
);
[C++]
void SetRTFOptions(
   String* p_sRTFStartInLine,
   String* p_sRTFStartProtected
);
[JScript]
function SetRTFOptions(
   String p_sRTFStartInLine,
   String p_sRTFStartProtected
);

Parameters

p_sRTFStartInLine
RTF codes for the start of an inline code.
p_sRTFStartProtected
RTF codes for the start of a protected code.

Remarks

Use this method to set the RTF codes to use before and after each inline code. These codes are used to format the text to RTF when using the GetText method. The RTF sequences must start with a '}' that will be closed automatically at the end of the code.

See Also

IFilterItem Interface | Okapi.Library.Filter Namespace