LAnnAutomation::SetFontName

#include "ltwrappr.h"

virtual L_INT LAnnAutomation::SetFontName(pFontName, uFlags=0)

L_TCHAR L_FAR * pFontName;

/* name of the font */

L_UINT uFlags;

/* reserved for future versions */

 

NOTE:

THIS FUNCTION IS NOW INHERITED DIRECTLY FROM THE PARENT LANNOTATION CLASS.

Sets the font property of the annotation object. This function is available in the Document/Medical Toolkits.

Parameter

Description

pFontName

Character string containing the name of the font to assign.

uFlags

Reserved for future versions, use 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Specify the name of the font in a character string.

Required DLLs and Libraries

LTANN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LAnnAutomation::GetFontName, LAnnAutomation::GetFontNameLen, LAnnAutomation::SetFontSize, LAnnAutomation::GetFontSize, LAnnAutomation::SetFontUnderline, LAnnAutomation::IsFontUnderline, LAnnAutomation::SetFontStrikeThrough, LAnnAutomation::IsFontStrikeThrough, LAnnAutomation::SetFontItalic, LAnnAutomation::IsFontItalic, LAnnAutomation::SetFontBold, LAnnAutomation::IsFontBold, Class Members

Topics:

Annotation Functions: Object Properties

 

Converting Automation Dialogs to Other Languages

Example

For an example, refer to LAnnAutomation::GetFontName.