LOTUSSCRIPT /COM/OLE のクラス


NotesRichTextItem クラス

リッチテキストアイテムを表します。

基本クラス継承元:NotesItem
包含関係スーパークラス:NotesDocument
サブクラス:NotesEmbeddedObjectNotesRichTextDocLinkNotesRichTextNavigatorNotesRichTextRangeNotesRichTextTable

プロパティDateTimeValue (NotesItem から継承)
EmbeddedObjects

IsAuthors (NotesItem から継承)

IsEncrypted (NotesItem から継承)

IsNames (NotesItem から継承)

IsProtected (NotesItem から継承)

IsReaders (NotesItem から継承)

IsSigned (NotesItem から継承)

IsSummary (NotesItem から継承)

LastModified (NotesItem から継承)

Name (NotesItem から継承)

Parent (NotesItem から継承)

SaveToDisk (NotesItem から継承)

Text (NotesItem から継承)

Type (NotesItem から継承)

ValueLength (NotesItem から継承)

Values (NotesItem から継承)

メソッドAbstract (NotesItem から継承)
AddNewLine

AddPageBreak

AddTab

AppendDocLink

AppendParagraphStyle

AppendRTItem

AppendStyle

AppendTable

AppendText

BeginInsert

BeginSection

Compact

Contains (NotesItem から継承)

CopyItemToDocument (NotesItem から継承)

CreateNavigator

CreateRange

EmbedObject

EndInsert

EndSection

GetEmbeddedObject

GetFormattedText

GetMIMEEntity (NotesItem から継承)

GetNotesFont

GetUnformattedText

GetValueDateTimeArray (NotesItem から継承)

New

Remove (NotesItem から継承)

Update

作成方法NotesRichTextItem オブジェクトを新規作成するには、次のいずれかを使用します。


メモ New メソッドは COM ではサポートされていません。
New は指定された文書にリッチテキストアイテムを作成して、指定された名前を付けます。

構文Dim variableName As New NotesRichTextItem( notesDocument , name$ )
または

Set notesRichTextItem = New NotesRichTextItem( notesDocument , name$ )

パラメータnotesDocument


name$
アクセス方法既存の NotesRichTextItem オブジェクトにアクセスするには、NotesDocument の GetFirstItem メソッドを使用します。
使用法NotesRichTextItem は NotesItem を継承しているため、NotesItem のすべてのプロパティとメソッドは NotesRichTextItem 上でも使えます。
NotesRichTextItem オブジェクトの値を変更した場合、親の NotesDocument の Save メソッドが呼び出されるまで、その変更内容はディスクに書き込まれません。

新しい NotesRichTextItem オブジェクトを指定しても内容を追加しない場合、アイテムは文書が保存されたときに作成されません。


関連項目