ITextRow::Apply method (tom.h)
Applies the formatting attributes of this text row object to the specified rows in the associated ITextRange2.
Syntax
HRESULT Apply(
[in] long cRow,
[in] long Flags
);
Parameters
[in] cRow
Type: long
The number of rows to apply this text row object to.
[in] Flags
Type: long
A flag that controls how the formatting attributes are applied. It can be one of the following values.
Return value
Type: HRESULT
If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | tom.h |
DLL | Msftedit.dll |