L_AnnGetAutoDialogFontSize

#include "l_bitmap.h"

L_LTANN_API L_INT L_AnnGetAutoDialogFontSize(hObject, pnFontSize)

HANNOBJECT hObject;

/* handle to an annotation automation object */

L_INT * pnFontSize;

/* address of the variable to update */

Gets the size, in points, of the font used to display the automation dialog boxes.

This function is available in the Document and Medical Imaging toolkits.

Parameter

Description

hObject

Handle to an automation object.

pnFontSize

Address of the L_INT variable to be updated with the font size.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Before calling this function, you must declare a variable of data type L_INT. Then, pass the address of the variable in the pnFontSize parameter. This function will update the variable with the automation object's current font size.

To set the font size for an annotation automation object, use the L_AnnSetAutoDialogFontSize.

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.

Platforms

Windows 2000 / XP/Vista.

See Also

Functions:

L_AnnSetAutoDialogFontSize, L_AnnSetAutoHilightPen, L_AnnSetAutoSnapCursor, L_AnnGetAutoSnapCursor

Topics:

Annotation Functions: Implementing Automation

 

Implementing Annotations

 

Automated User Interface for Annotations

 

Implementing an Automated Annotation Program

 

Converting Automation Dialogs to Other Languages

 

Obtaining Annotation Object Information

 

Annotation Functions (Document/Medical only): Automation Properties

Example

For an example, refer to L_AnnSetAutoDialogFontSize.