GhostShapeCollection 類別

定義

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

取得來源圖表標識碼。這可以傳回 Guid.Empty。

SourceProcessId

取得來源進程標識碼。

SourceStoreId

取得來源存放區標識碼。這可以傳回 Guid.Empty。

SyncRoot

取得物件,這個物件可以用來對集合進行同步存取。

方法

Add(GhostShape)

將 GhostShape 物件加入至集合。

CopyTo(Array, Int32)

從特定的陣列索引開始,將 GhostShapes 複製到陣列。

CopyTo(GhostShape[], Int32)

從特定的陣列索引開始,將 GhostShapes 複製到 GhostShape[] 陣列。

Find(Guid)

取得指定來源 ShapeElement guid 的 GhostShape。

GetEnumerator()

傳回可逐一查看 GhostShape 集合的列舉值。

GetObjectData(SerializationInfo, StreamingContext)

在 SerializationInfo 中填入串行化此物件所需的數據。

Offset(PointD)

依指定的差異來位移每個準刪除圖形的目前位置。

適用於