Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_AnnGetAutoDialogFontSize

Show in webframe

#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.

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

Win32, x64.

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.