The IEAnnotations type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
ClearAllUndo()()()()
Empty the Undo stack (for objects)
ClearUndo()()()()
ClearUndo does clear only the last undo stack (for objects)
CopySelectedObjectsTo(IEAnnotations)
Call CopySelectedObjectsTo to write all selected objects to another IEAnnotations object.
CopyTo(IEAnnotations)
Copies all objects to the target annotations
CopyToClipboard()()()()
CopyToClipboard copies selected objects to the clipboard in a propretary format.
CreateObject(IEObjectType)
Create a new object
CreatePolygonsFromSelection()()()()

Create polygons from current selection. This method creates the right number of polygons which composes the original selection.

This method is useful to convert from selection to vectorial polygons.

CutToClipboard()()()()
CutToClipboard copies selected objects to the clipboard in a propretary format and then deletes the objects.
DrawObjectsTo(IEImage, Boolean)
Draws all vectorial objects on the specified IEImage object (target). Antialias parameter .
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetObjectFromID(Int32)
Returns an object from its ID
GetObjectFromIndex(Int32)
Returns an object form its index
GetObjectFromName(String)
Returns an object from its name
GetSelected(Int32)
Return a selected object
GetTemplateObject(IEObjectType)
Get the template object. This objects is the template for the new created object by user interactions.
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ImportDXF(String)

Imports an Autocad DXF file. Returns True on successful.

Note: only a subset of the DXF is implemented (lines, arcs and ellipses).

IsClipboardAvailable()()()()
Check if clipboard contains data valid for IEAnnotations (IEvolution vectorial objects).
LoadAll(Stream)
This method loads all layers and vectorial objects from one single stream.
LoadAll(String)
This method loads all layers and vectorial objects from one single file.
LoadFromTIFF(String, Int32)

This method loads objects from the specified TIFF.

This is like LoadObjects, but gets the objects info from a tag of the TIFF file.

This method is not compatible with Wang Imaging (you have to use another method to save as Wang Imaging), but allows you to save all IEAnnotations objects.

The tag used for default is 40101

LoadObjects(Stream)
Loads the objects from Stream. The IEV format is writed to save vectorial objects as lines, ellipses and bitmaps (but not background image).
LoadObjects(String)
Loads the objects from file. The IEV format is writed to save vectorial objects as lines, ellipses and bitmaps (but not background image).
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MergeObject(IEObject, Boolean)
This method copies/merges the specified object over the background image.
MergeObjects(Boolean)
Copy all object over background image. This method is a way to convert the vectorial objects in a pixmap image.
PasteFromClipboard(Int32, Int32)
PasteFromClipboard copies the contents of the clipboard into IEViewer component, replacing the current selection.
Remove(IEObject)
Remove the specified object.
RemoveAllObjects()()()()
Removes all objects.
RotateObjects(Double, IERCenter)

Rotates all objects by the specified angle (in degrees).

If center is Image only 90/180/270 degrees rotations are allowed.

BOX, ELLIPSE, BITMAP and TEXT can be rotated only by 90/180/270 degrees.

This method doesn't work with MEMO and curved texts.

It is better to call RotateAll before rotate the background image.

SaveAll(String)
This method saves all layers and vectorial objects in one single file.
SaveAll(Stream, IEFileFormats)
This method saves all layers and vectorial objects in one single stream.
SaveAll(String, IEFileFormats)
This method saves all layers and vectorial objects in one single file.
SaveObjects(Stream)
Save objects to Stream. The IEV format is writed to save vectorial objects as lines, ellipses and bitmaps (but not background image).
SaveObjects(String)
Save objects to file. The IEV format is writed to save vectorial objects as lines, ellipses and bitmaps (but not background image).
SaveToTIFF(String, Int32)

This method saves all objects in the specified TIFF.

This is like SaveObjects, but incorporates the objects info in a tag of the TIFF file.

This method is not compatible with Wang Imaging (you have to use another method to save as Wang Imaging), but allows you to save all IEAnnotations objects.

(

The tag used for default is 40101.

To load objects back use LoadFromTIFF.

SaveUndo()()()()
Saves the objects in the Undo stack.
SelectAllObjects()()()()
Select all objects
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Undo()()()()
Makes last Undo buffer as current image (group of objects)
UndoAt(Int32)
UndoAt restore the image (group of objects) at Position in the Undo stack.
UnSelectAllObjects()()()()
Deselects all objects.

See Also