ITextStrings::EncodeFunction method

Encodes an object, given a set of argument strings.

Syntax


HRESULT EncodeFunction(
  [in]  long Type,
  [in]  long Align,
  [in]  long Char,
  [in]  long Char1,
  [in]  long Char2,
  [in]  long Count,
  [in]  long TeXStyle,
  [in]  long cCol,
  [in]  ITextRange2 *pRange
);

Parameters

Type [in]

Type: long

The object type. See ITextRange2::GetInlineObject for a table of definitions.

Align [in]

Type: long

The object alignment. See ITextRange2::GetInlineObject for a table of definitions.

Char [in]

Type: long

The object character.

Char1 [in]

Type: long

The object character.

Char2 [in]

Type: long

The object character.

Count [in]

Type: long

The count of strings (arguments) to concatenate.

TeXStyle [in]

Type: long

The TeX style.

cCol [in]

Type: long

The count of columns (tomArray only).

pRange [in]

Type: ITextRange2*

The specifying range that points at the desired formatting.

Return value

Type: HRESULT

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

Remarks

See ITextRange2::GetInlineObject for a more detailed discussion of the arguments.

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

ITextStrings

 

 

Community Additions

ADD
Show:
© 2015 Microsoft