LAnnAutomation::GetAutoDialogFontSize

#include "ltwrappr.h"

virtual L_INT LAnnAutomation::GetAutoDialogFontSize(pnFontSize)

L_INT * pnFontSize;

/* address of the variable to update */

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

Parameter

Description

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 LAnnAutomation::SetAutoDialogFontSize function.

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

Win32, x64.

See Also

Functions:

LAnnAutomation::SetAutoDialogFontSize, Class Members, LAnnAutomation::SetAutoHilightPen, LAnnotation::SetAutoSnapCursor, LAnnotation::GetAutoSnapCursor, LAnnAutomation::GetAutoHilightPen

Topics:

Annotation Functions: Object Properties

 

Implementing Annotations

 

Automated User Interface for Annotations

 

Annotation Functions: Creating and Deleting Annotations

 

Types of Annotations

 

Annotation Functions: Implementing Custom Annotations

 

Annotation Functions: Creating Custom Annotations

 

Fixed Annotations

 

Minimizing Flicker With Double Buffering

 

Annotation Functions: Working with the Toolbar

 

Converting Automation Dialogs to Other Languages

Example

For an example, refer to LAnnAutomation::SetAutoDialogFontSize.