Field

Inheritance: java.lang.Object, com.aspose.slides.DomObject

All Implemented Interfaces: com.aspose.slides.IField

public final class Field extends DomObject<Portion> implements IField

Represents a field.

Methods

MethodDescription
getType()Returns or sets field’s type.
setType(IFieldType value)Returns or sets field’s type.
getSlide()Returns the parent slide of a paragraph.
getPresentation()Returns the parent presentation of a paragraph.

getType()

public final IFieldType getType()

Returns or sets field’s type. Read/write IFieldType.

Returns: IFieldType

setType(IFieldType value)

public final void setType(IFieldType value)

Returns or sets field’s type. Read/write IFieldType.

Parameters:

ParameterTypeDescription
valueIFieldType

getSlide()

public final IBaseSlide getSlide()

Returns the parent slide of a paragraph. Read-only BaseSlide.

Returns: IBaseSlide

getPresentation()

public final IPresentation getPresentation()

Returns the parent presentation of a paragraph. Read-only IPresentation.

Returns: IPresentation