ShapeGuideCollection

ShapeGuideCollection class

Encapsulates a collection of shape guide

class ShapeGuideCollection;

Constructors

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
get(number)Gets a shape guide by index
add(string, number)Adds a shape guide.(Important: This feature is currently only available for Excel07 and above)
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

constructor()

Default Constructor.

constructor();

get(number)

Gets a shape guide by index

get(index: number) : ShapeGuide;

Parameters:

ParameterTypeDescription
indexnumber

Returns

ShapeGuide

add(string, number)

Adds a shape guide.(Important: This feature is currently only available for Excel07 and above)

add(name: string, val: number) : number;

Parameters:

ParameterTypeDescription
namestringthe name of adjust. It’s as “adj(Used when there is only one adjustment value)”, “adj1”, “adj2”, “adj3” and so on.
valnumberthe value of adjust

getCount()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;