In This Topic ▼

AnnObject Class Members

Summary

The following tables list the members exposed by AnnObject.

Public Constructors

Name Description
Public Constructor
static  | Shared in VB</div>
AnnObject Initializes a new AnnObject class object.

Public Methods

Name Description
Public Method
clone Creates an exact copy of this AnnObject.
Public Method create Creates a new instance of AnnObject.
Public Method static  | Shared in VB dateFromString Converts a string value to a date time.
Public Method static  | Shared in VB dateToString Converts a date time to a string.
Public Method deserialize Loads this object with data from the specified XML.
Public Method getArea Returns the pixel count of this AnnObject.
Public Method getAreaInPixels Returns the pixel count of this AnnObject.
Public Method getBoundingRectangle Gets the bounding rectangle for this AnnObject.
Public Method getInvalidateRect Gets a LeadRectD object that specifies the current physical rectangle of this AnnObject.
Public Method hitTest Performs hit-testing on this AnnObject.
Public Method lock Locks this AnnObject with the specified password.
Public Method onPointsChanged Occurs when the Points for this AnnObject have changed.
Public Method onPropertyChanged Raises the PropertyChanged event.
Public Method rotate Rotates the AnnObject around a point.
Public Method scale Scales the AnnObject by the specified ratios.
Public Method scaleVector Scales the AnnObject by the specified ratios, unit vector and center point.
Public Method serialize Serializes the object to an XML document.
Public Method setId Sets the ID of this AnnObject.
Public Method translate Translates the AnnObject by the specified values.
Public Method unlock Unlocks this AnnObject with the specified password.

Public Properties

Name Description
Public Property
borderStyle The shape of the AnnObject boundary.
Public Property bounds Gets a LeadRectD object that indicates the bounds of this AnnObject.
Public Property canRotate Indicates if this object supports rotation.
Public Property contentPicture Gets or sets the id of the picture used when drawing the content of this object.
Public Property fill Gets or sets the AnnBrush associated with this AnnObject.
Public Property fixedStateOperations Gets or sets the fixed state for this AnnObject.
Public Property font Gets or sets the AnnFont used associated with this AnnObject.
Public Property friendlyName Gets the friendly name for AnnObject.
Public Property groupName For future use.
Public Property Guid The GUID associated with this annotation object.
Public Property hitTestInterior Indicates if this AnnObject supports hit testing of its interior.
Public Property hyperlink Gets or sets a string which represents the hyperlink for this AnnObject.
Public Property id Gets the ID of this AnnObject.
Public Property isLocked Gets a value that indicates whether this AnnObject is locked.
Public Property isSelected Gets or sets a value indicating whether the object is selected.
Public Property isVisible Gets or sets a value indicating whether the object is visible.
Public Property labels Gets a dictionary of AnnLabel objects used by this AnnObject.
Public Property layer Gets the optional layer that contains this object.
Public Property lockPicture Gets or sets the id of the picture used when drawing the locked symbol for locked objects.
Public Property mapper Gets or sets the mapper for this AnnObject.
Public Property metadata Gets the metadata associated with this object.
Public Property opacity Gets or sets a value indicating the opacity value to use when rendering this object.
Public Property password Gets or sets the password used in the last successful lock operation of this AnnObject.
Public Property points Gets the collection of LeadPointD objects that define this AnnObject.
Public Property renderedObjectBounds Gets or sets the bounding rectangle of the object as it was last rendered.
Public Property reviews Gets the items that can be used to add review comments and replies to this AnnObject.
Public Property rotateCenter Gets or sets the location of the rotate center control point.
Public Property rotateGripper Gets or sets the length of the rotate gripper control point.
Public Property selectionStroke Gets or sets the stroke to use when drawing the frame of this object.
Public Property stateId Gets or sets the optional state ID of this object to be used with state rendering engines.
Public Property stroke Gets or sets the AnnStroke associated with this AnnObject.
Public Property supportsContent Indicates if this object supports content.
Public Property supportsFill Indicates if this object supports a fill.
Public Property supportsFont Indicates if this object supports a font.
Public Property supportsOpacity Indicates if this object supports an opacity.
Public Property supportsSelectionStroke Indicates if this object supports a selection stroke.
Public Property supportsStroke Indicates if this object supports a stroke.
Public Property tag Gets or sets a user-defined data object that is associated with this object.
Public Property userId Gets or sets the user ID of this AnnObject.

Public Events

Name Description
Public Event
static  | Shared in VB
propertyChanged Occurs when a property value changes.AnnPropertyChangedEventArgs

Public Fields

Name Description
Public Field
static  | Shared in VB
audioObjectId Returns the ID for an "audio" object. Not used in this version of the annotation framework.
Public Field static  | Shared in VB authorMetadataKey Author metadata key.
Public Field static  | Shared in VB buttonObjectId Specifies the ID for a "button" object. Not used in this version of the annotation framework.
Public Field static  | Shared in VB closedCurveObjectId Specifies the ID for an AnnCurveObject that is a closed figure.
Public Field static  | Shared in VB contentMetadataKey Content metadata key.
Public Field static  | Shared in VB createdMetadataKey Created metadata key.
Public Field static  | Shared in VB crossProductObjectId Specifies the ID for an AnnCrossProductObject.
Public Field static  | Shared in VB curveObjectId Specifies the ID for an AnnCurveObject.
Public Field static  | Shared in VB ellipseObjectId Specifies the ID for an AnnEllipseObject.
Public Field static  | Shared in VB encryptObjectId Returns the ID for an "encrypt" object. Not used in this version of the annotation framework.
Public Field static  | Shared in VB freehandHotspotObjectId Specifies the ID for an AnnFreehandHotspotObject.
Public Field static  | Shared in VB freehandObjectId Specifies the ID for an AnnPolylineObject that is draw freehand style.
Public Field static  | Shared in VB groupObjectId Specifies the ID for an AnnGroupObject.
Public Field static  | Shared in VB hiliteObjectId Specifies the ID for an AnnHiliteObject.
Public Field static  | Shared in VB hotspotObjectId Specifies the ID for an AnnHotspotObject.
Public Field static  | Shared in VB imageObjectId Returns the ID for an AnnImageObject.
Public Field static  | Shared in VB lineObjectId Specifies the ID for an AnnPolylineObject that has a single line.
Public Field static  | Shared in VB mediaObjectId Returns the ID for an AnnMediaObject.
Public Field static  | Shared in VB modifiedMetadataKey Modified metadata key.
Public Field static  | Shared in VB none Specifies the ID for no annotation object.
Public Field static  | Shared in VB noteObjectId Specifies the ID for an AnnNoteObject.
Public Field static  | Shared in VB pointerObjectId Specifies the ID for an AnnPointerObject.
Public Field static  | Shared in VB pointObjectId Specifies the ID for an AnnPointObject.
Public Field static  | Shared in VB polygonObjectId Specifies the ID for an AnnPolylineObject that is a closed figure.
Public Field static  | Shared in VB polylineObjectId Specifies the ID for an AnnPolylineObject.
Public Field static  | Shared in VB polyRulerObjectId Specifies the ID for an AnnPolyRulerObject.
Public Field static  | Shared in VB protractorObjectId Specifies the ID for an AnnProtractorObject.
Public Field static  | Shared in VB rectangleObjectId Specifies the ID for an AnnRectangleObject.
Public Field static  | Shared in VB redactionObjectId Specifies the ID for an AnnRedactionObject.
Public Field static  | Shared in VB richTextObjectId Returns the ID for a "rich text" object. Not used in this version of the annotation framework.
Public Field static  | Shared in VB rubberStampObjectId Specifies the ID for an AnnRubberStampObject.
Public Field static  | Shared in VB rulerObjectId Specifies the ID for an AnnPolyRulerObject that has a single ruler.
Public Field static  | Shared in VB selectObjectId Specifies the ID for an AnnSelectionObject.
Public Field static  | Shared in VB stampObjectId Specifies the ID for an AnnStampObject.
Public Field static  | Shared in VB stickyNoteObjectId Returns the ID for an AnnStickyNoteObject.
Public Field static  | Shared in VB subjectMetadataKey Subject metadata key.
Public Field static  | Shared in VB textHiliteObjectId Returns the ID for an AnnTextHiliteObject.
Public Field static  | Shared in VB textObjectId Specifies the ID for an AnnTextObject.
Public Field static  | Shared in VB textPointerObjectId Specifies the ID for an AnnTextPointerObject.
Public Field static  | Shared in VB textRedactionObjectId Returns the ID for an AnnTextRedactionObject.
Public Field static  | Shared in VB textRollupObjectId Specifies the ID for an AnnTextRollupObject.
Public Field static  | Shared in VB textStrikeoutObjectId Returns the ID for an AnnTextStrikeoutObject.
Public Field static  | Shared in VB textUnderlineObjectId Returns the ID for an AnnTextUnderlineObject.
Public Field static  | Shared in VB titleMetadataKey Title metadata key.
Public Field static  | Shared in VB userObjectId Specifies the ID for a user defined AnnObject.

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly