←Select platform

AnnObject Class Members

Summary

The following tables list the members exposed by AnnObject.

Public Methods

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

Protected Methods

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

Public Properties

Name Description
BoundingRectangle Gets the logical bounding rectangle of this AnnObject.
Container Gets or sets the AnnContainer that contains this AnnObject.
FixedState Gets or sets the font and pen fixed state of this object.
GripperDistance The distance in pixels that the RotateGripper control point is originally placed from the bounds of the AnnObject.
Group Gets or sets the AnnGroupObject that contains this AnnObject.
Hyperlink Gets or sets a string which represents the hyperlink for this AnnObject.
InvalidRectangle Gets the physical bounding rectangle of this AnnObject.
IsFixedStateStackEmpty true if the fixed stack is empty; false otherwise.
IsLocked Gets a value that indicates whether this AnnObject is locked.
Name Gets or sets the name of the AnnObject.
NameBackColor Gets or sets the color used to fill the background of the name of this AnnObject.
NameBackColorXml Used internally by the LEADTOOLS framework.
NameFont Gets or sets the font used to draw the text of the name of this AnnObject.
NameForeColor Gets or sets the color used to draw the text of the name of this AnnObject.
NameForeColorXml Used internally by the LEADTOOLS framework.
NameOffset Gets or sets the name offset relative to the upper left corner of the bounding rectangle of this AnnObject.
NameRestrict Gets or sets a value indicating whether this AnnObject name is restricted to appear fully within the bounding rectangle of the Container.
NameVisible Gets or sets a value to determine whether to draw the name of this AnnObject.
Origin Gets the logical origin of this AnnObject.
Password Gets the password used in the last successful lock operation of this AnnObject.
PhysicalTransform Returns the current physical transformation System.Drawing.Drawing2D.Matrix of this AnnObject.
RotateCenter The location of the rotate center control point.
RotateGripper The location of the rotate gripper control point.
SerializePassword Gets or sets a value indicating whether the password is saved when this AnnObject is serialized.
SupportsFixed true if this AnnObject can be fixed; false otherwise
Tag Gets or sets the tag of this AnnObject.
Transform Returns the current transformation System.Drawing.Drawing2D.Matrix of this AnnObject.
TransformObjectMode Gets a value that determines how to transform this AnnObject when any object transformation method is called.
UserData Gets or sets the user-defined data of this AnnObject.
Visible Gets or sets a value indicating whether the AnnObject is visible.
Win32ObjectId For internal use.

Protected Properties

Name Description
HitTestInterior Gets a value indicating whether hit-testing should be performed inside this AnnObject.
UnitConverter Gets the AnnUnitConverter that will be used in this AnnObject.

Public Fields

Name Description
DefaultHitTestValue The default hit test value for the AnnObject object.
NameHitTestValue The default hit test value for the AnnObject name area.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly