Please enable JavaScript to view this site.

CORE HL7 API Dialogs

Online Help - Region 3: [CORE HL7 API Dialogs]

Other CORE HL7 API Help Regions

Download the API Libraries


 

The RTFBuilder class has existed in our internal and commercial class libraries in one form or another for over 20 years. It is really a quite simple class typically used for creating short to midsized documents or reports formatted as RichText (RTF).

 

 

 

 

 

 

Public Properties:

 

Property Name

Data Type

COLORS

Text Color Properties

DataColor

System.Drawing.Color - The color to use for the Data text in the next call to AddLabelData(). The default is Color.Blue

LabelColor

System.Drawing.Color - The color to use for the Label text in the next call to AddLabelData(). The default is Color.Black

TextColor

System.Drawing.Color - The color to use on the next add text operation AddText(), AddLine(), AddLines(), etc. The default is Color.Black

STYLES

Text Style Properties

DataStyle

System.Drawing.FontStyle - The style to use for the Data text in the next call to AddLabelData(). The default is FontStyle.Regular

LabelStyle

System.Drawing.FontStyle - The style to use for the Label text in the next call to AddLabelData(). The default is FontStyle.Bold

StyleFont

System.Drawing.FontStyle - The style to use on the next add text operation AddText(), AddLine(), AddLines(), etc. The default is FontStyle.Regular

Other Properties

Formatting Properties

Alignment

System.Windows.Forms.HorizontalAlignment - The Alignment setting used for all add text operations. The default is HorizontalAlignment.Left

BaseFont

System.Drawing.Font - This is the initial font setting used when you call the Clear() or ResetToBaseFont() methods.

FontName

string - The name of the font to use (needs to be a valid font name, Arial, Tahoma, Segoe UI, etc).

FontSize

float - Get or Set the size of the font to use in the next addtext operations

Indent

int - The left margin indent

RightIndent

int - The right margin indent

RTF

string -

 

 

Other Public Methods:

 

Method

Return Value

ExceptionHandling

Uses the Standard Exceptions Interface

IsMandatoryDataType(string typeName)

bool In the world of HL7 data types are absolutely mandatory and must be present in a HL7 Definition, Examples: ST, NM, TX, etc. In the editing sub-system they CANNOT be deleted. You can query using this method to determine if a Data Type is Mandatory.

IsMandatorySegment(string segmentName)

bool In the world of HL7 some segments are absolutely mandatory and must be present in a HL7 Definition, Examples: MSH, PID, etc. In the editing sub-system they CANNOT be deleted. You can query using this method to determine if a segment is Mandatory.

 

 

 

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Nav Header: ALT+n
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Exit Menu/Up: ESC