ISLetter.BodyFormat

Description

The format of the text of the letter.

Syntax

object.BodyFormat

Part Attribute Type Description
object Required
The object always implements the ISLetter interface

Return Value

TSLetterContentFormat

Example

Display some information about the letter, including the format of its text.

Dim aPatient
Dim aLetters, aLetter
Dim i
Dim aMessage

Set aPatient = Profile.SelectPatient
set aLetters = aPatient.GetLetters (1) ' slcfWordRTF

aMessage =_
  "The number of the letters of the selected format is " & aLetters.Count

for i = 0 to aLetters.Count - 1
  set aLetter = aLetters.Item(i)                             
  aMessage = aMessage & vbNewLine &_
    "Letter Date: " & aLetter.Date & vbNewLine &_
    "Letter Subject: " & aLetter.Subject2 & vbNewLine &_
    "Body Format: " & aLetter.BodyFormat & vbNewLine
next

Profile.MsgBox(aMessage) 
Note:

In Profile Client v8 on User Interface Body Format cannot be found. Body can be found in Clinical > Medical Record > Documents > Open saved document or in Organisation > Work Centre > Communication > Letters > Open saved document.

Version information

Added in v7.8.0
Access changed to read/write in v7.8.0