GhostShapeCollection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
- 继承
-
GhostShapeCollection
- 属性
- 实现
构造函数
GhostShapeCollection(Guid, Guid) |
初始化 GhostShapeCollection 类的新实例。 |
GhostShapeCollection(SerializationInfo, StreamingContext) |
初始化 GhostShapeCollection 类的新实例。 这用于反序列化。 |
属性
AbsoluteBoundingBox |
获取集合中所有 GhostShapes 周围的当前边框。 矩形相对于图表的左上角以世界单位表示。 |
AreSiblings |
此集合的成员是否都是同级? |
Count |
获取集合中 GhostShapes 的数量。 |
GridSize |
获取作为一个整体的虚影形状集合的网格大小。 |
IsSynchronized |
获取一个值,该值指示对集合的访问是否已同步(线程安全)。 |
LocationDelta |
获取作为一个整体的虚影形状集合的当前位置与初始位置之间的增量。 |
ParentIds |
获取幽灵形状集合中的父 Guid 数组。 |
PrimaryGhostShape |
获取主要幽灵形状。 |
SourceDiagramId |
获取源关系图 ID。这可以返回 Guid.Empty。 |
SourceProcessId |
获取源进程 ID。 |
SourceStoreId |
获取源存储 ID。这可以返回 Guid.Empty。 |
SyncRoot |
获取可用于同步对集合的访问的对象。 |
方法
Add(GhostShape) |
将 GhostShape 对象添加到集合。 |
CopyTo(Array, Int32) |
从特定数组索引开始,将 GhostShapes 复制到数组。 |
CopyTo(GhostShape[], Int32) |
从特定的 Array 索引开始,将 GhostShape 复制到 GhostShape[] 数组。 |
Find(Guid) |
获取给定源 ShapeElement guid 的 GhostShape。 |
GetEnumerator() |
返回一个可以循环访问 GhostShape 集合的枚举器。 |
GetObjectData(SerializationInfo, StreamingContext) |
使用序列化此对象所需的数据填充 SerializationInfo。 |
Offset(PointD) |
将每个虚影形状的当前位置偏移指定的增量。 |