[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.PictureBulletCollection

Class PictureBulletCollection

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

Represents a collection of PictureBullet objects.

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

Properties

Count

Gets the count of objects in this collection.

public int Count { get; }

Property Value

int

this[int]

Gets a PictureBullet by its index in the collection.

public PictureBullet this[int index] { get; }

Parameters

index int

The index in the collection.

Property Value

PictureBullet

The PictureBullet with the specified index.

Methods

Add(byte[], string)

Creates a new PictureBullet and adds it to the collection.

public PictureBullet Add(byte[] imageBytes, string contentType)

Parameters

imageBytes byte[]

The image data representing the picture.

contentType string

The image data content type.

Returns

PictureBullet

The newly created PictureBullet.

GetById(int)

Gets a PictureBullet by its id.

public PictureBullet GetById(int id)

Parameters

id int

The PictureBullet id.

Returns

PictureBullet

The PictureBullet with the specified id.