IDrawingGuidesCollection

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericEnumerable

public interface IDrawingGuidesCollection extends System.Collections.Generic.IGenericEnumerable<IDrawingGuide>

Represents a collection of the adjustable drawing guides.

Methods

MethodDescription
get_Item(int index)Returns the drawing guide by index.
add(byte orientation, float position)Adds the drawing guide at the end of the collection.
removeAt(int index)Removes the drawing guide at the specified index.
clear()Removes all elements from the collection.
getCount()Gets the number of all elements in the collection.

get_Item(int index)

public abstract IDrawingGuide get_Item(int index)

Returns the drawing guide by index. Read-only IDrawingGuide.

Parameters:

ParameterTypeDescription
indexint

Returns: IDrawingGuide

add(byte orientation, float position)

public abstract IDrawingGuide add(byte orientation, float position)

Adds the drawing guide at the end of the collection.

Parameters:

ParameterTypeDescription
orientationbyteOrientation of the drawing guide.
positionfloatPosition of the the drawing guide in points.

Returns: IDrawingGuide

removeAt(int index)

public abstract void removeAt(int index)

Removes the drawing guide at the specified index.

Parameters:

ParameterTypeDescription
indexintIndex of the drawing guide that should be deleted.

clear()

public abstract void clear()

Removes all elements from the collection.

getCount()

public abstract int getCount()

Gets the number of all elements in the collection. Read-only int.

Returns: int