Obtaining Annotation Object Information

(Document and Medical Imaging toolkits)

LEADTOOLS provides many functions that allow the user to extract information from annotation objects. Once that information has been extracted, it can be modified using any of a number of functions provided by LEADTOOLS.

L_AnnEnumerate is a special function that processes each object in a specified container using a designated callback function. Once an object is obtained, many of the functions listed below can be called to obtain the desired information.

The following functions are general in nature and apply to the majority of annotation objects. For more information, refer to the individual function's documentation.

L_AnnGetBackColor

L_AnnGetBoundingRect

L_AnnGetContainer

L_AnnGetDpiX

L_AnnGetDpiY

L_AnnGetFillPattern

L_AnnGetFontBold

L_AnnGetFontItalic

L_AnnGetFontName

L_AnnGetFontNameLen

L_AnnGetFontSize

L_AnnGetFontStrikeThrough

L_AnnGetFontUnderline

L_AnnGetForeColor

L_AnnGetItem

L_AnnGetLineStyle

L_AnnGetLineWidth

L_AnnGetNameOptions

L_AnnGetObjectFromTag

L_AnnGetOffsetX

L_AnnGetOffsetY

L_AnnGetPredefinedBitmap

L_AnnGetPredefinedMetafile

L_AnnGetRect

L_AnnGetRestrictToContainer

L_AnnGetROP2

L_AnnGetRotateOptions

L_AnnGetSecondaryBitmap

L_AnnGetSecondaryMetafile

L_AnnGetSelectCount

L_AnnGetSelected

L_AnnGetSelectItems

L_AnnGetSelectRect

L_AnnGetTag

L_AnnGetText

L_AnnGetTextLen

L_AnnGetTool

L_AnnGetToolBarButtons

L_AnnGetToolBarButtonVisible

L_AnnGetToolBarChecked

L_AnnGetToolBarInfo

L_AnnGetTopContainer

L_AnnGetType

L_AnnGetUnit

L_AnnGetUnitLen

L_AnnGetUserData

L_AnnGetUserHandle

L_AnnGetUserHandles

L_AnnGetUserMode

L_AnnGetVisible

L_AnnGetWnd

This next set of functions is more specialized, applying only to certain annotation objects. For more information, refer to the individual function's documentation.

L_AnnGetActiveState

L_AnnGetAngle

L_AnnGetBitmap

L_AnnGetBitmapDpiX

L_AnnGetBitmapDpiY

L_AnnGetDistance

L_AnnGetDistance2

L_AnnGetEncryptOptions

L_AnnGetFillMode

L_AnnGetGaugeLength

L_AnnGetTextFixedSize

L_AnnGetLineFixedWidth

L_AnnGetMetafile

L_AnnGetNodes

L_AnnGetOptions

L_AnnGetPointCount

L_AnnGetPointOptions

L_AnnGetPointerOptions

L_AnnGetPoints

L_AnnGetPolyFillMode

L_AnnGetProtractorOptions

L_AnnGetRgnHandle

L_AnnGetRotateAngle

L_AnnGetSecondaryMetafile

L_AnnGetShowFlags

L_AnnGetTextAlign

L_AnnGetTextOptions

L_AnnGetTextPointerFixed

L_AnnGetTextRotate

L_AnnGetTextRTF

L_AnnGetTicMarkLength

L_AnnGetTransparent

L_AnnGetTransparentColor

This final set of functions applies only to automation annotation objects.

L_AnnGetAutoCursor

L_AnnGetAutoBackColor

L_AnnGetAutoDialogFontSize

L_AnnGetAutoDrawEnable

L_AnnGetAutoMenuEnable

L_AnnGetAutoMenuItemEnable

L_AnnGetAutoMenuState

L_AnnGetAutoOptions

L_AnnGetAutoSnapCursor

L_AnnGetAutoText

L_AnnGetAutoTextLen

L_AnnGetAutoUndoEnable