GhostShapeCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of GhostShapes.
public ref class GhostShapeCollection : System::Collections::ICollection, System::Runtime::Serialization::ISerializable
[System.Serializable]
public class GhostShapeCollection : System.Collections.ICollection, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type GhostShapeCollection = class
interface ICollection
interface IEnumerable
interface ISerializable
Public Class GhostShapeCollection
Implements ICollection, ISerializable
- Inheritance
-
GhostShapeCollection
- Attributes
- Implements
Constructors
GhostShapeCollection(Guid, Guid) |
Initializes a new instance of the GhostShapeCollection class. |
GhostShapeCollection(SerializationInfo, StreamingContext) |
Initializes a new instance of the GhostShapeCollection class. This is used for deserialization. |
Properties
AbsoluteBoundingBox |
Gets the current bounding rectangle surrounding all GhostShapes in the collection. The rectangle is in world units relative to the diagram's top-left. |
AreSiblings |
Are the members of this collection all siblings? |
Count |
Gets the number of GhostShapes in the collection. |
GridSize |
Gets the grid size for the ghost shape collection as a whole. |
IsSynchronized |
Gets a value indicating whether access to the collection is synchronized (thread-safe). |
LocationDelta |
Gets the delta between the current and initial location of the ghost shape collection as a whole. |
ParentIds |
Gets an array of parent Guids in the ghost shape collection. |
PrimaryGhostShape |
Gets the primary ghost shape. |
SourceDiagramId |
Gets the source diagram id. This can return Guid.Empty. |
SourceProcessId |
Gets the source process id. |
SourceStoreId |
Gets the source store id. This can return Guid.Empty. |
SyncRoot |
Gets an object that can be used to synchronize access to the collection. |
Methods
Add(GhostShape) |
Adds a GhostShape object to the collection. |
CopyTo(Array, Int32) |
Copies the GhostShapes to an Array, starting at a particular Array index. |
CopyTo(GhostShape[], Int32) |
Copies the GhostShapes to a GhostShape[] array, starting at a particular Array index. |
Find(Guid) |
Gets the GhostShape given the source ShapeElement guid. |
GetEnumerator() |
Returns an enumerator that can iterate through the GhostShape collection. |
GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo with the data needed to serialize this object. |
Offset(PointD) |
Offsets the current location of each ghost shape by the specified delta. |