onTextFormat
Event of IFrameEvents
Description
Called when text should be formatted
Parameters
- ITextDocument pDocument
- IRange pRange
- VARIANT_BOOL bIndent = VARIANT_FALSE (optional)
Return Value
- VARIANT_BOOL pbResult
Syntax
JavaScript
Appplication.onTextFormat = function(pRange, bIndent) { return pbResult; };
Visual Basic Script
function onTextFormat(pRange, bIndent)
{
return pbResult
}
Appplication.onTextFormat = onTextFormat
C++
HRESULT CFrameEvents::onTextFormat(ITextDocument* pDocument, IRange* pRange, VARIANT_BOOL bIndent, VARIANT_BOOL* pbResult) { }