←Select platform

AnnObject Class Members

Summary

The following tables list the members exposed by AnnObject.

Protected Constructors

Name Description
Protected Constructor AnnObject Initializes a new instance of this class.

Public Methods

Name Description
Public Method Clone Creates an exact copy of this AnnObject.
Public Method ConvertToRegion Converts the AnnObject to a region using the specified fill mode.
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 GetInvalidateRect Gets a Leadtools.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 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.

Protected Methods

Name Description
Protected Method Create Creates a new instance of AnnObject.
Protected Method GetBoundingRectangle Gets the bounding rectangle for this AnnObject.
Protected Method OnPointsChanged Occurs when the Points for this AnnObject have changed.

Public Properties

Name Description
Public Property BorderStyle The shape of the AnnObject boundary.
Public Property Bounds Gets a Leadtools.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 Get the optional layer that contain 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 Leadtools.LeadPointD objects that define this AnnObject.
Public Property RenderedObjectBounds 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 SupportsBorderStyle Indicates whether AnnObject supports a border style.
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 PropertyChanged Occurs when a property value changes.

Public Fields

Name Description
Public Field AudioObjectId Returns the ID for an "audio" object. Not used in this version of the annotation framework.
Public Field AuthorMetadataKey Author metadata key.
Public Field ButtonObjectId Specifies the ID for a "button" object. Not used in this version of the annotation framework.
Public Field ClosedCurveObjectId Specifies the ID for an AnnCurveObject that is a closed figure.
Public Field ContentMetadataKey Content metadata key.
Public Field CreatedMetadataKey Created metadata key.
Public Field CrossProductObjectId Specifies the ID for an AnnCrossProductObject.
Public Field CurveObjectId Specifies the ID for an AnnCurveObject.
Public Field EllipseObjectId Specifies the ID for an AnnEllipseObject.
Public Field EncryptObjectId Returns the ID for an "encrypt" object. Not used in this version of the annotation framework.
Public Field FreehandHotspotObjectId Specifies the ID for an AnnFreehandHotspotObject.
Public Field FreehandObjectId Specifies the ID for an AnnPolylineObject that is drawn freehand style.
Public Field GroupObjectId Specifies the ID for an AnnGroupObject.
Public Field HiliteObjectId Specifies the ID for an AnnHiliteObject.
Public Field HotspotObjectId Specifies the ID for an AnnHotspotObject.
Public Field ImageObjectId Returns the ID for an AnnImageObject.
Public Field LineObjectId Specifies the ID for an AnnPolylineObject that has a single line.
Public Field MediaObjectId Returns the ID for a "media" object. Not used in this version of the annotation framework.
Public Field ModifiedMetadataKey Modified metadata key.
Public Field None Specifies the ID for no annotation object.
Public Field NoteObjectId Specifies the ID for an AnnNoteObject.
Public Field PointerObjectId Specifies the ID for an AnnObject.
Public Field PointObjectId Specifies the ID for an AnnPointObject.
Public Field PolygonObjectId Specifies the ID for an AnnPolylineObject that is a closed figure.
Public Field PolylineObjectId Specifies the ID for an AnnPolylineObject.
Public Field PolyRulerObjectId Specifies the ID for an AnnPolyRulerObject.
Public Field ProtractorObjectId Specifies the ID for an AnnProtractorObject.
Public Field RectangleObjectId Specifies the ID for an AnnRectangleObject.
Public Field RedactionObjectId Specifies the ID for an AnnRedactionObject.
Public Field RichTextObjectId Returns the ID for a "rich text" object. Not used in this version of the annotation framework.
Public Field RubberStampObjectId Specifies the ID for an AnnRubberStampObject.
Public Field RulerObjectId Specifies the ID for an AnnPolyRulerObject that has a single ruler.
Public Field SelectObjectId Specifies the ID for an AnnSelectionObject.
Public Field StampObjectId Specifies the ID for an AnnStampObject.
Public Field StickyNoteObjectId Returns the ID for an AnnStickyNoteObject.
Public Field SubjectMetadataKey Subject metadata key.
Public Field TextHiliteObjectId Returns the ID for an AnnTextHiliteObject.
Public Field TextObjectId Specifies the ID for an AnnTextObject.
Public Field TextPointerObjectId Specifies the ID for an AnnTextPointerObject.
Public Field TextRedactionObjectId Returns the ID for an AnnTextRedactionObject.
Public Field TextRollupObjectId Specifies the ID for an AnnTextRollupObject.
Public Field TextStrikeoutObjectId Returns the ID for an AnnTextStrikeoutObject.
Public Field TextUnderlineObjectId Returns the ID for an AnnTextUnderlineObject.
Public Field TitleMetadataKey Title metadata key.
Public Field UserObjectId Specifies the ID for a user defined AnnObject.

See Also

AnnObject Class

Leadtools.Annotations.Engine Namespace

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

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.