Obtaining Annotation Object Information
Show in webframe
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.
In addition, functionality for adding and maintaining user-defined handles has been added to the Annotation C++ Class Library. This functionality has been implemented by adding the AddUserHandle, GetUserHandle, GetUserHandles, ChangeUserHandle, DeleteUserHandle, EnumerateHandles, and EnumHandleCallBack functions to each of the following classes:
LAnnAudioClip
LAnnButton
LAnnCrossProduct
LAnnCurve
LAnnCurveClosed
LAnnEllipse
LAnnEncrypt
LAnnFreehand
LAnnFreehandHotSpot
LAnnHilite
LAnnHotSpot
LAnnLine
LAnnNote
LAnnPolygon
LAnnPoint
LAnnPolyline
LAnnPolyRuler
LAnnProtractor
LAnnPointer
LAnnPushPin
LAnnRedact
LAnnRectangle
LAnnRTF
LAnnRuler
LAnnStamp
LAnnText
LAnnTextPointer
LAnnToolBar
LAnnVideo
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.
LAnimationWindow::GetAnimationBitsPerPixel
LAnimationWindow::GetAnimationColorOrder
LAnimationWindow::GetAnimationHeight
LAnimationWindow::GetAnimationWidth
LAnimationWindow::GetAnimationWindow
LAnimationWindow::GetBackgroundColor
LAnimationWindow::GetCount
LAnimationWindow::GetCurrentIndex
LAnimationWindow::GetDelay
LAnimationWindow::GetDisposalMethod
LAnimationWindow::GetPosition
LAnimationWindow::GetRemainingDelay
LAnnContainer::FileInfo
LAnnContainer::FileInfoMemory
LAnnContainer::FileInfoOffset
LAnnContainer::GetBackColor
LAnnContainer::GetFillMode
LAnnContainer::GetFillPattern
LAnnContainer::GetForeColor
LAnnContainer::GetGrouping
LAnnContainer::GetItem
LAnnContainer::GetLineStyle
LAnnContainer::GetLineWidth
LAnnContainer::GetObjectFromTag
LAnnContainer::GetSelectCount
LAnnContainer::GetSelectItems
LAnnContainer::GetSelectRect
LAnnContainer::HitTest
LAnnotation::GetActiveState
LAnnotation::GetArea
LAnnotation::GetAutoMenuItemEnable
LAnnotation::GetAutoMenuState
LAnnotation::GetAutoSnapCursor
LAnnotation::GetBackColor
LAnnotation::GetBoundingRect
LAnnotation::GetContainer
LAnnotation::GetFontName
LAnnotation::GetFontNameLen
LAnnotation::GetFontSize
LAnnotation::GetForeColor
LAnnotation::GetHandle
LAnnotation::GetHyperlink
LAnnotation::GetHyperlinkLen
LAnnotation::GetNameOptions
LAnnotation::GetOffsetX
LAnnotation::GetOffsetY
LAnnotation::GetPredefinedMetafile
LAnnotation::GetRect
LAnnotation::GetRestrictToContainer
LAnnotation::GetRgnHandle
LAnnotation::GetROP2
LAnnotation::GetRotateOptions
LAnnotation::GetScalarX
LAnnotation::GetScalarY
LAnnotation::GetTag
LAnnotation::GetAutoBackColor
LAnnotation::GetTopContainer
LAnnotation::GetType
LAnnotation::GetUserData
LAnnotation::GetUserMode
LAnnotation::GetWnd
LAnnotation::IsClipboardReady
LAnnotation::IsCreated
LAnnotation::IsFontBold
LAnnotation::IsFontItalic
LAnnotation::IsFontStrikeThrough
LAnnotation::IsFontUnderline
LAnnotation::IsLocked
LAnnotation::IsSelected
LAnnotation::IsValid
LAnnotation::IsVisible
LAnnotationWindow::GetAutomationObject
LAnnotationWindow::GetContainerObject
LAnnotationWindow::GetToolBar
This next set of functions are more specialized, applying only to certain annotation objects. For more information, refer to the individual function's documentation.
LAnnAudioClip::GetFixed
LAnnAudioClip::GetRotateAngle
LAnnAudioClip::GetText
LAnnAudioClip::GetTextLen
LAnnAudioClip::GetUserHandle
LAnnAudioClip::GetUserHandles
LAnnAudioClip::IsFixedInRect
LAnnButton::GetFixed
LAnnButton::GetForeColor
LAnnButton::GetRotateAngle
LAnnButton::GetText
LAnnButton::GetTextLen
LAnnButton::GetUserHandle
LAnnButton::GetUserHandles
LAnnButton::IsFixedInRect
LAnnCrossProduct::GetDistance
LAnnCrossProduct::GetDistance2
LAnnCrossProduct::GetFixed
LAnnCrossProduct::GetLineStyle
LAnnCrossProduct::GetLineWidth
LAnnCrossProduct::GetPointCount
LAnnCrossProduct::GetPoints
LAnnCrossProduct::GetUserHandle
LAnnCrossProduct::GetUserHandles
LAnnCrossProduct::IsFixedInRect
LAnnCurve::GetFixed
LAnnCurve::GetPointCount
LAnnCurve::GetPoints
LAnnCurve::GetUserHandle
LAnnCurve::GetUserHandles
LAnnCurve::IsFixedInRect
LAnnCurveClosed::GetFixed
LAnnCurveClosed::GetPointCount
LAnnCurveClosed::GetPoints
LAnnCurveClosed::GetUserHandle
LAnnCurveClosed::GetUserHandles
LAnnCurveClosed::IsFixedInRect
LAnnEllipse::GetBackColor
LAnnEllipse::GetFillMode
LAnnEllipse::GetFillPattern
LAnnEllipse::GetFixed
LAnnEllipse::GetForeColor
LAnnEllipse::GetLineStyle
LAnnEllipse::GetLineWidth
LAnnEllipse::GetRotateAngle
LAnnEllipse::GetUserHandle
LAnnEllipse::GetUserHandles
LAnnEllipse::IsFixedInRect
LAnnEncrypt::GetEncryptOptions
LAnnEncrypt::GetLineStyle
LAnnEncrypt::GetLineWidth
LAnnEncrypt::GetMetafile
LAnnEncrypt::GetRotateAngle
LAnnEncrypt::GetSecondaryMetafile
LAnnEncrypt::GetUserHandle
LAnnEncrypt::GetUserHandles
LAnnFreehand::GetFixed
LAnnFreehand::GetForeColor
LAnnFreehand::GetLineStyle
LAnnFreehand::GetLineWidth
LAnnFreehand::GetNodes
LAnnFreehand::GetPointCount
LAnnFreehand::GetPoints
LAnnFreehand::GetUserHandle
LAnnFreehand::GetUserHandles
LAnnFreehand::IsFixedInRect
LAnnFreehandHotSpot::GetFixed
LAnnFreehandHotSpot::GetMetafile
LAnnFreehandHotSpot::GetUserHandle
LAnnFreehandHotSpot::GetUserHandles
LAnnFreehandHotSpot::IsFixedInRect
LAnnHilite::GetBackColor
LAnnHilite::GetFixed
LAnnHilite::GetRotateAngle
LAnnHilite::GetUserHandle
LAnnHilite::GetUserHandles
LAnnHilite::IsFixedInRect
LAnnHotSpot::GetFixed
LAnnHotSpot::GetMetafile
LAnnHotSpot::GetRotateAngle
LAnnHotSpot::GetUserHandle
LAnnHotSpot::GetUserHandles
LAnnHotSpot::IsFixedInRect
LAnnLine::GetFixed
LAnnLine::GetForeColor
LAnnLine::GetLineStyle
LAnnLine::GetLineWidth
LAnnLine::GetRotateAngle
LAnnLine::GetUserHandle
LAnnLine::GetUserHandles
LAnnLine::IsFixedInRect
LAnnNote::GetBackColor
LAnnNote::GetFixed
LAnnNote::GetFontName
LAnnNote::GetFontNameLen
LAnnNote::GetFontSize
LAnnNote::GetForeColor
LAnnNote::GetRotateAngle
LAnnNote::GetText
LAnnNote::GetTextAlign
LAnnNote::GetTextLen
LAnnNote::GetTextRotate
LAnnNote::GetUserHandle
LAnnNote::GetUserHandles
LAnnNote::IsFixedInRect
LAnnNote::IsFontBold
LAnnNote::IsFontItalic
LAnnNote::IsFontStrikeThrough
LAnnNote::IsFontUnderline
LAnnPoint::GetBitmap
LAnnPoint::GetFixed
LAnnPoint::GetPointOptions
LAnnPoint::GetPoints
LAnnPoint::GetPredefinedBitmap
LAnnPoint::GetTransparent
LAnnPoint::GetTransparentColor
LAnnPoint::GetUserHandle
LAnnPoint::GetUserHandles
LAnnPoint::IsFixedInRect
LAnnPointer::GetFixed
LAnnPointer::GetForeColor
LAnnPointer::GetLineStyle
LAnnPointer::GetLineWidth
LAnnPointer::GetRotateAngle
LAnnPointer::GetUserHandle
LAnnPointer::GetUserHandles
LAnnPointer::IsFixedInRect
LAnnPolygon::GetBackColor
LAnnPolygon::GetFillMode
LAnnPolygon::GetFillPattern
LAnnPolygon::GetFixed
LAnnPolygon::GetForeColor
LAnnPolygon::GetLineStyle
LAnnPolygon::GetLineWidth
LAnnPolygon::GetNodes
LAnnPolygon::GetPointCount
LAnnPolygon::GetPoints
LAnnPolygon::GetPolyFillMode
LAnnPolygon::GetUserHandle
LAnnPolygon::GetUserHandles
LAnnPolygon::IsFixedInRect
LAnnPolyline::GetFixed
LAnnPolyline::GetForeColor
LAnnPolyline::GetLineStyle
LAnnPolyline::GetLineWidth
LAnnPolyline::GetNodes
LAnnPolyline::GetPointCount
LAnnPolyline::GetPoints
LAnnPolyline::GetUserHandle
LAnnPolyline::GetUserHandles
LAnnPolyline::IsFixedInRect
LAnnPolyRuler::GetDistance
LAnnPolyRuler::GetDistance2
LAnnPolyRuler::GetFixed
LAnnPolyRuler::GetLineStyle
LAnnPolyRuler::GetLineWidth
LAnnPolyRuler::GetNodes
LAnnPolyRuler::GetPointCount
LAnnPolyRuler::GetPoints
LAnnPolyRuler::GetTicMarkLength
LAnnPolyRuler::GetUnitLen
LAnnPolyRuler::GetUserHandle
LAnnPolyRuler::GetUserHandles
LAnnPolyRuler::IsFixedInRect
LAnnProtractor::GetAngle
LAnnProtractor::GetDistance
LAnnProtractor::GetDistance2
LAnnProtractor::GetFixed
LAnnProtractor::GetPointCount
LAnnProtractor::GetPoints
LAnnProtractor::GetProtractorOptions
LAnnProtractor::GetUserHandle
LAnnProtractor::GetUserHandles
LAnnProtractor::IsFixedInRect
LAnnPushPin::GetBitmap
LAnnPushPin::GetFixed
LAnnPushPin::GetRotateAngle
LAnnPushPin::GetSecondaryBitmap
LAnnPushPin::GetUserHandle
LAnnPushPin::GetUserHandles
LAnnPushPin::IsFixedInRect
LAnnRectangle::GetBackColor
LAnnRectangle::GetFillMode
LAnnRectangle::GetFillPattern
LAnnRectangle::GetFixed
LAnnRectangle::GetForeColor
LAnnRectangle::GetLineStyle
LAnnRectangle::GetLineWidth
LAnnRectangle::GetRotateAngle
LAnnRectangle::GetUserHandle
LAnnRectangle::GetUserHandles
LAnnRectangle::IsFixedInRect
LAnnRTF::GetFixed
LAnnRTF::GetText
LAnnRTF::GetTextLen
LAnnRTF::GetTextRTF
LAnnRTF::GetUserHandle
LAnnRTF::GetUserHandles
LAnnRTF::IsFixedInRect
LAnnRedact::GetBackColor
LAnnRedact::GetRotateAngle
LAnnRedact::GetUserHandle
LAnnRedact::GetUserHandles
LAnnRuler::GetDistance
LAnnRuler::GetDistance2
LAnnRuler::GetFixed
LAnnRuler::GetFontName
LAnnRuler::GetFontNameLen
LAnnRuler::GetFontSize
LAnnRuler::GetForeColor
LAnnRuler::GetGaugeLength
LAnnRuler::GetLineStyle
LAnnRuler::GetLineWidth
LAnnRuler::GetPoints
LAnnRuler::GetRotateAngle
LAnnRuler::GetShowFlags
LAnnRuler::GetText
LAnnRuler::GetTextLen
LAnnRuler::GetTicMarkLength
LAnnRuler::GetUnit
LAnnRuler::GetUnitLen
LAnnRuler::GetUserHandle
LAnnRuler::GetUserHandles
LAnnRuler::IsFixedInRect
LAnnRuler::IsFontBold
LAnnRuler::IsFontItalic
LAnnRuler::IsFontStrikeThrough
LAnnRuler::IsFontUnderline
LAnnStamp::GetBackColor
LAnnStamp::GetBitmap
LAnnStamp::GetFillMode
LAnnStamp::GetFillPattern
LAnnStamp::GetFixed
LAnnStamp::GetFontName
LAnnStamp::GetFontNameLen
LAnnStamp::GetFontSize
LAnnStamp::GetForeColor
LAnnStamp::GetLineStyle
LAnnStamp::GetLineWidth
LAnnStamp::GetMetafile
LAnnStamp::GetRotateAngle
LAnnStamp::GetSecondaryMetafile
LAnnStamp::GetText
LAnnStamp::GetTextLen
LAnnStamp::GetTransparent
LAnnStamp::GetTransparentColor
LAnnStamp::GetUserHandle
LAnnStamp::GetUserHandles
LAnnStamp::IsFixedInRect
LAnnStamp::IsFontBold
LAnnStamp::IsFontItalic
LAnnStamp::IsFontStrikeThrough
LAnnStamp::IsFontUnderline
LAnnText::GetBackColor
LAnnText::GetFillMode
LAnnText::GetFixed
LAnnText::GetFontName
LAnnText::GetFontNameLen
LAnnText::GetFontSize
LAnnText::GetForeColor
LAnnText::GetRotateAngle
LAnnText::GetText
LAnnText::GetTextLen
LAnnText::GetUserHandle
LAnnText::GetUserHandles
LAnnText::IsFixedInRect
LAnnText::IsFontBold
LAnnText::IsFontItalic
LAnnText::IsFontStrikeThrough
LAnnText::IsFontUnderline
LAnnTextPointer::GetFixed
LAnnTextPointer::GetRotateAngle
LAnnTextPointer::GetTextAlign
LAnnTextPointer::GetTextPointerFixed
LAnnTextPointer::GetTextRotate
LAnnTextPointer::GetUserHandle
LAnnTextPointer::GetUserHandles
LAnnTextPointer::IsFixedInRect
LAnnToolBar::GetToolBarButtons
LAnnToolBar::GetToolBarInfo
LAnnToolBar::GetToolChecked
LAnnToolBar::GetWndHandle
LAnnToolBar::IsButtonVisible
LAnnToolBar::IsCreated
LAnnVideo::GetFixed
LAnnVideo::GetRotateAngle
LAnnVideo::GetText
LAnnVideo::GetTextLen
LAnnVideo::GetUserHandle
LAnnVideo::GetUserHandles
LAnnVideo::IsFixedInRect
This final set of functions apply only to automation annotation objects.
LAnnAutomation::GetAutoContainer
LAnnAutomation::GetAutoCursor
LAnnAutomation::GetAutoOptions
LAnnAutomation::GetAutoText
LAnnAutomation::GetAutoTextLen
LAnnAutomation::GetAutoUndoEnable
LAnnAutomation::GetBackColor
LAnnAutomation::GetBitmapDpiX
LAnnAutomation::GetBitmapDpiY
LAnnAutomation::GetDistance
LAnnAutomation::GetDpiX
LAnnAutomation::GetDpiY
LAnnAutomation::GetEncryptOptions
LAnnAutomation::GetFillMode
LAnnAutomation::GetFillPattern
LAnnAutomation::GetFixed
LAnnAutomation::GetFontName
LAnnAutomation::GetFontNameLen
LAnnAutomation::GetFontSize
LAnnAutomation::GetForeColor
LAnnAutomation::GetGaugeLength
LAnnAutomation::GetLineStyle
LAnnAutomation::GetLineWidth
LAnnAutomation::GetNodes
LAnnAutomation::GetPointOptions
LAnnAutomation::GetPolyFillMode
LAnnAutomation::GetShowFlags
LAnnAutomation::GetText
LAnnAutomation::GetTextAlign
LAnnAutomation::GetTextExpandTokens
LAnnAutomation::GetTextLen
LAnnAutomation::GetTextPointerFixed
LAnnAutomation::GetTextRotate
LAnnAutomation::GetTextRTF
LAnnAutomation::GetTicMarkLength
LAnnAutomation::GetTool
LAnnAutomation::GetTransparentColor
LAnnAutomation::GetUndoDepth
LAnnAutomation::GetUnit
LAnnAutomation::GetUnitLen
LAnnAutomation::InsertTextTokenTable
LAnnAutomation::IsAutoDrawEnabled
LAnnAutomation::IsAutoMenuEnabled
LAnnAutomation::IsFixedInRect
LAnnAutomation::IsFontBold
LAnnAutomation::IsFontItalic
LAnnAutomation::IsFontStrikeThrough