Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnObject Class Members
See Also  Fields  Properties  Methods 
Leadtools.Annotations Namespace : AnnObject Class

The following tables list the members exposed by AnnObject.

Protected Constructors

 NameDescription
Protected Constructor AnnObject ConstructorOverloaded.  This constructor is required by ISerializable.  
Top

Public Fields

 NameDescription
Public Fieldstatic (Shared in Visual Basic) DefaultHitTestValue The default hit test value for the AnnObject object.  
Public Fieldstatic (Shared in Visual Basic) NameHitTestValue The default hit test value for the AnnObject name area.  
Top

Public Properties

 NameDescription
Public Property BoundingRectangle Gets the logical bounding rectangle of this AnnObject.  
Public Property Brush Gets or sets the AnnBrush associated with this AnnDrawable object. (Inherited from AnnDrawable)
Public Property Container Gets or sets the AnnContainer that contains this AnnObject.  
Public Property Font Gets or sets the AnnFont associated with this AnnDrawable object. (Inherited from AnnDrawable)
Public Property GripperDistance The distance in pixels that the AnnObject.RotateGripper control point is originally placed from the bounds of the AnnObject.  
Public Property Group Gets or sets the AnnGroupObject that contains this AnnObject.  
Public Property HasBrush Gets a value indicating whether this AnnDrawable object has a brush. (Inherited from AnnDrawable)
Public Property HasFont Gets a value indicating whether this AnnDrawable object has a font. (Inherited from AnnDrawable)
Public Property HasPen Gets a value indicating whether this AnnDrawable object has a pen. (Inherited from AnnDrawable)
Public Property Hyperlink Gets or sets a string which represents the hyperlink for this AnnObject.  
Public Property InvalidRectangle Gets the physical bounding rectangle of this AnnObject.  
Public Property IsFixedStateStackEmpty true if the fixed stack is empty; false otherwise.  
Public Property IsLocked Gets a value that indicates whether this AnnObject is locked.  
Public Property Name Gets or sets the name of the AnnObject.  
Public Property NameBackColor Gets or sets the color used to fill the background of the name of this AnnObject.  
Public Property NameFont Gets or sets the font used to draw the text of the name of this AnnObject.  
Public Property NameForeColor Gets or sets the color used to draw the text of the name of this AnnObject.  
Public Property NameOffset Gets or sets the name offset relative to the upper left corner of the bounding rectangle of this AnnObject.  
Public Property NameRestrict Gets or sets a value indicating whether this AnnObject name is restricted to appear fully within the bounding rectangle of the AnnObject.Container.  
Public Property NameVisible Gets or sets a value to determine whether to draw the name of this AnnObject.  
Public Property Origin Gets the logical origin of this AnnObject.  
Public Property Password Gets the password used in the last successful lock operation of this AnnObject.  
Public Property Pen Gets or sets the AnnPen associated with this AnnDrawable object. (Inherited from AnnDrawable)
Public Property PhysicalTransform Returns the current physical transformation Matrix of this AnnObject.  
Public Property RotateCenter The location of the rotate center control point.  
Public Property RotateGripper The location of the rotate gripper control point.  
Public Property SerializePassword Gets or sets a value indicating whether the password is saved when this AnnObject is serialized.  
Public Property SupportsBrush Gets a value indicating whether this AnnDrawable object supports a brush. (Inherited from AnnDrawable)
Public Property SupportsFixed true if this AnnObject can be fixed; false otherwise  
Public Property SupportsFont Gets a value indicating whether this AnnDrawable object supports a font. (Inherited from AnnDrawable)
Public Property SupportsPen Gets a value indicating whether this AnnDrawable object supports a pen. (Inherited from AnnDrawable)
Public Property Tag Gets or sets the tag of this AnnObject.  
Public Property TextColor Gets or sets the text Color structure associated with this AnnDrawable object. (Inherited from AnnDrawable)
Public Property Transform Returns the current transformation Matrix of this AnnObject.  
Public Property TransformObjectMode Gets a value that determines how to transform this AnnObject when any object transformation method is called.  
Public Property UserData Gets or sets the user-defined data of this AnnObject.  
Public Property Visible Gets or sets a value indicating whether the AnnObject is visible.  
Public Property Win32ObjectId For internal use.  
Top

Protected Properties

 NameDescription
Protected Property HitTestInterior Gets a value indicating whether hit-testing should be performed inside this AnnObject.  
Protected Property UnitConverter Gets the AnnUnitConverter that will be used in this AnnObject.  
Top

Public Methods

 NameDescription
Public Method CalculateRotateAngle Returns the rotate angle of an AnnObject in degrees.  
Public Method Clone Creates an exact copy of this AnnObject object.  
Public Method ConvertLogicalToObjectPoints Converts an array of points from logical to object coordinates.  
Public Method ConvertLogicalToObjectRectangle Converts a rectangle from logical to object coordinates.  
Public Method ConvertObjectToLogicalPoints Converts an array of points from object to logical coordinates.  
Public Method ConvertObjectToLogicalRectangle Converts a rectangle from object to logical coordinates.  
Public Methodstatic (Shared in Visual Basic) CreateRotateMatrix A helper method that creates a standard rotation matrix with the specified values.  
Public Methodstatic (Shared in Visual Basic) CreateScaleMatrix A helper method that creates a standard scale matrix with the specified values.  
Public Methodstatic (Shared in Visual Basic) CreateTranslateMatrix A helper method that creates a standard translation matrix with the specified values.  
Public Method DisposeOverloaded.  Releases the resources used by the AnnObject.  
Public Method Draw Draws this AnnObject on the specified surface.  
Public Method GetArea Gets the pixel count of the annotation object  
Public Method GetFixedState Determines if this AnnObject is in a fixed state.  
Public Method GetGraphicsPath Returns a GraphicsPath representation of this AnnObject.  
Public Method GetObjectDataOverridden.  Populates a specified SerializationInfo with the data needed to serialize this object.  
Public Method HitTest Performs hit-testing on this AnnObject.  
Public Method Lock Locks this AnnObject with the specified password.  
Public Method PopFixedState Re-enables the fixed state of an AnnObject.  
Public Method PushFixedState Temporarily disables the fixed state of an AnnObject.  
Public Method ResetRotatePoints Resets the AnnObject.RotateCenter and AnnObject.RotateGripper control points to a default location.  
Public Method ResetTransform Resets the transformation matrix of this AnnObject.  
Public Method RestoreOriginalLocation Restores location information for an AnnObject.  
Public Method RestrictName Restricts the name to appear fully within the bounding rectangle of the AnnObject.Container of this AnnObject.  
Public Method Rotate Rotates the transformation matrix of this AnnObject around a point.  
Public Method SaveOriginalLocation Saves location information for an AnnObject.  
Public Method Scale Scales the transformation matrix of this AnnObject by the specified ratios.  
Public Method SetFixedState Sets the fixed state of an AnnObject.  
Public Method ToStringOverridden.  Overridden. Converts the attributes of this AnnObject to a human-readable string.  
Public Method TransformRotatePoints Applies the transformer to the rotate control points.  
Public Method Translate Translates the transformation matrix of this AnnObject by the specified values.  
Public Method Unlock Unlocks this AnnObject with the specified password.  
Top

Protected Methods

 NameDescription
Protected Method BeginDraw Called by the AnnObject.Draw method to set up the object's AnnObject.PhysicalTransform matrix into the g graphics surface.  
Protected Method Create Creates a new instance of this AnnObject.  
Protected Method DrawLocked Draws this AnnObject locked picture on the specified surface.  
Protected Method DrawName Draws this AnnObject name on the specified surface.  
Protected Method DrawObject Draws this AnnObject on the specified surface.  
Protected Method EndDraw Called by the AnnObject.Draw method to reset the graphics transformation.  
Protected Method FinalizeOverridden.  This member overrides Finalize.  
Protected Method GetTransformPoints Gets the array of points to be transformed.  
Protected Method NameHitTest Performs hit-testing on this AnnObject name.  
Protected Method SetTransformPoints Sets the array of transformed points.  
Top

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features