DrawingGuide

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IDrawingGuide

public final class DrawingGuide implements IDrawingGuide

Represents an adjustable drawing guide.

Methods

MethodDescription
getOrientation()Returns or sets orientation of the drawing guide.
setOrientation(byte value)Returns or sets orientation of the drawing guide.
getPosition()Returns or sets position of the drawing guide in points from the top, left corner of the slide.
setPosition(float value)Returns or sets position of the drawing guide in points from the top, left corner of the slide.

getOrientation()

public final byte getOrientation()

Returns or sets orientation of the drawing guide. Read/write Orientation.

Returns: byte

setOrientation(byte value)

public final void setOrientation(byte value)

Returns or sets orientation of the drawing guide. Read/write Orientation.

Parameters:

ParameterTypeDescription
valuebyte

getPosition()

public final float getPosition()

Returns or sets position of the drawing guide in points from the top, left corner of the slide. Read/write float.


The typical value range is from zero to slide height for a horizontal guide and from zero to slide width for a vertical guide.

Returns: float

setPosition(float value)

public final void setPosition(float value)

Returns or sets position of the drawing guide in points from the top, left corner of the slide. Read/write float.


The typical value range is from zero to slide height for a horizontal guide and from zero to slide width for a vertical guide.

Parameters:

ParameterTypeDescription
valuefloat