- Não, não.

- Não, não.

Resumo geral

ShapeCollection é uma classe em Aspose.Slides para NET. Herdeiros de: IShapeCollection.

Representa uma coleção ordenada e mutável de objetos pertencentes a um slide ou forma do grupo. Envolve o elemento XML <p:spTree> e fornece acesso com cache para envelopes de formas.

Propriedades

Nome:Tipo de veículo:AcessosDescrição:
ParentGroupIGroupShape?Leia.Obtém ou define a forma do grupo que contém esta coleção
AsICollectionIList<IShape>Leia.Fornece a coleção como um IList de IShape
AsIEnumerableIEnumerable<IShape>Leia.Fornece a coleção como um IEnumerable de IShape
CountintLeia.Obtém o número de formas na coleção.

Métodos de avaliação

AssinaturaDescrição:
ShapeCollection()Construir um novo ShapeCollection vazio
ToArray()Retorna uma sub-matriz com início no startIndex, contando elementos de contagem.
ToArray(startIndex: int, count: int)
Reorder(index: int, shape: IShape)Mova o conjunto de formas para começar no índice dado
Reorder(index: int, shapes: IShape[])
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float)Cria e acrescenta um AutoShape do tipo e dimensões dados.
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool)
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float)Inserir um novo AutoShape no índice, opcionalmente usando um modelo
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool)
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float)Cria e acrescenta uma forma de conector do tipo e dimensões dados.
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool)
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float)
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool)
AddPictureFrame(shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage)Adiciona um quadro de imagem com a imagen fornecida
InsertPictureFrame(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage)
AddTable(x: float, y: float, columnWidths: double[], rowHeights: double[])Adiciona uma tabela na posição com largura de coluna e altura das linhas especificadas.
InsertTable(index: int, x: float, y: float, columnWidths: double[], rowHeights: double[])Insere uma tabela no índice com posição e dimensões dados.
IndexOf(shape: IShape)Retorna o índice baseado em zero da forma especificada.
RemoveAt(index: int)Remove a forma no índice dado
Remove(shape: IShape)Remover a forma especificada da coleção .
Clear()
GetEnumerator()Retorna um enumerador para iteração das formas.
 Português