alignShapes

alignShapes(int alignmentType, boolean alignToSlide, ShapeCollection shapes) function

Changes the placement of all shapes in the collection. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges
shapesShapeCollectionShapes collection to be aligned

alignShapes(int alignmentType, boolean alignToSlide, LayoutSlide slide) function

Changes the placement of all shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideLayoutSlideParent slide.

alignShapes(int alignmentType, boolean alignToSlide, NotesSlide slide) function

Changes the placement of all shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideNotesSlideParent slide.

alignShapes(int alignmentType, boolean alignToSlide, MasterNotesSlide slide) function

Changes the placement of all shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideMasterNotesSlideParent slide.

alignShapes(int alignmentType, boolean alignToSlide, MasterSlide slide) function

Changes the placement of all shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideMasterSlideParent slide.

alignShapes(int alignmentType, boolean alignToSlide, Slide slide) function

Changes the placement of all shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideSlideParent slide.

alignShapes(int alignmentType, boolean alignToSlide, MasterHandoutSlide slide) function

Changes the placement of all shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideMasterHandoutSlideParent slide.

alignShapes(int alignmentType, boolean alignToSlide, LayoutSlide slide, int[] shapeIndexes) function

Changes the placement of selected shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideLayoutSlideParent slide.
shapeIndexesint[]Indexes of shapes to be aligned.

alignShapes(int alignmentType, boolean alignToSlide, NotesSlide slide, int[] shapeIndexes) function

Changes the placement of selected shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideNotesSlideParent slide.
shapeIndexesint[]Indexes of shapes to be aligned.

alignShapes(int alignmentType, boolean alignToSlide, MasterNotesSlide slide, int[] shapeIndexes) function

Changes the placement of selected shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideMasterNotesSlideParent slide.
shapeIndexesint[]Indexes of shapes to be aligned.

alignShapes(int alignmentType, boolean alignToSlide, MasterSlide slide, int[] shapeIndexes) function

Changes the placement of selected shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideMasterSlideParent slide.
shapeIndexesint[]Indexes of shapes to be aligned.

alignShapes(int alignmentType, boolean alignToSlide, Slide slide, int[] shapeIndexes) function

Changes the placement of selected shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideSlideParent slide.
shapeIndexesint[]Indexes of shapes to be aligned.

alignShapes(int alignmentType, boolean alignToSlide, MasterHandoutSlide slide, int[] shapeIndexes) function

Changes the placement of selected shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
slideMasterHandoutSlideParent slide.
shapeIndexesint[]Indexes of shapes to be aligned.

alignShapes(int alignmentType, boolean alignToSlide, GroupShape groupShape) function

Changes the placement of all shapes within group shape. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
groupShapeGroupShapeParent group shape.

alignShapes(int alignmentType, boolean alignToSlide, GroupShape groupShape, int[] shapeIndexes) function

Changes the placement of selected shapes within group shape. Aligns shapes to the margins or the edge of the slide or align them relative to each other.

Parameters

NameTypeDescription
alignmentTypeintDetermines which type of alignment will be applied.
alignToSlidebooleanIf true, shapes will be aligned relative to the slide edges.
groupShapeGroupShapeParent group shape.
shapeIndexesint[]Indexes of shapes to be aligned.