Windows Dev Center

ITextRow::Apply method

Applies the formatting attributes of this text row object to the specified rows in the associated ITextRange2.

Syntax


HRESULT Apply(
  [inlong cRow,
  [inlong Flags
);

Parameters

cRow [in]

Type: long

The number of rows to apply this text row object to.

Flags [in]

Type: long

A flag that controls how the formatting attributes are applied. It can be one of the following values.

ValueMeaning
tomCellStructureChangeOnly

Apply formatting attributes only to cell widths or the cell count (enables you to change column widths or insert/delete columns without changing other properties, such as cell borders).

tomRowApplyDefault

Apply formatting attributes to the full application, not just cell widths and count.

 

Return value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

ITextRow

 

 

Community Additions

ADD
Show:
© 2015 Microsoft