Help Center

CTextStory.SetTypemethod

Sets this story's type.

Windowsmethoddocumented

Syntax

FUNCTION SetType (BYVAL Value AS LONG) AS HRESULT

Parameters

NameDescription
ValueThis story's type. It can be any of the following values, or a custom client value from 100 to 65535.

Return value

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

Description

Sets this story's type.

Reference

  • Defined in AfxNova/CTextStory.inc:182
  • Documented in Windows/WIndows Controls/RichEdit/CTextStory Class.md
  • Topic: CTextStory Class