[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CanvasShapeCollection

Class CanvasShapeCollection

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a collection of CanvasShape objects.

public class CanvasShapeCollection : ContentObjectCollection<CanvasShape>, IContentList<CanvasShape>, IReadOnlyList<CanvasShape>, IReadOnlyCollection<CanvasShape>, IEnumerable<CanvasShape>, IEnumerable
Inheritance
object
CanvasShapeCollection
Implements
System.Collections.Generic.IReadOnlyList<T><CanvasShape>
System.Collections.Generic.IReadOnlyCollection<T><CanvasShape>
System.Collections.Generic.IEnumerable<T><CanvasShape>
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Methods

Add()

Adds a CanvasShape to this collection at the End location.

public CanvasShape Add()

Returns

CanvasShape

The added CanvasShape.

Add(float, float)

Adds a CanvasShape to this collection at the End location.

public CanvasShape Add(float width, float height)

Parameters

width float

The canvas width, in points.

height float

The canvas height, in points.

Returns

CanvasShape

The inserted CanvasShape.

Insert(InsertLocation)

Inserts a CanvasShape into this collection at a specified location.

public CanvasShape Insert(InsertLocation location)

Parameters

location InsertLocation

The target InsertLocation for the insertion.

Returns

CanvasShape

The inserted CanvasShape.

Insert(float, float, InsertLocation)

Inserts a CanvasShape into this collection at a specified location.

public CanvasShape Insert(float width, float height, InsertLocation location)

Parameters

width float

The canvas width, in points.

height float

The canvas height, in points.

location InsertLocation

The target InsertLocation for the insertion.

Returns

CanvasShape

The inserted CanvasShape.