Skip to main content

ViewProperties Class

Gets the presentation view properties.

Declaration

public class ViewProperties extends PresentationObject

Remarks

Refer to the following help topic for additional information: Customize Presentation Views with Presentation API for Java.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject

ViewProperties()

Initializes a new instance of the ViewProperties class.

Declaration

public ViewProperties()

Methods

deepClone() Method

Clones the current ViewProperties instance.

Declaration

public ViewProperties deepClone()

Returns

Type Description
ViewProperties

The cloned ViewProperties instance.

getActiveViewType() Method

Returns the preferred initial view type of the presentation. This value does not guarantee that the presentation application displays the presentation in this view.

Declaration

public ViewType getActiveViewType()

Returns

Type Description
ViewType

The type of the preferred initial view that the application displays when a user opens the presentation.

getGridSpacing() Method

Returns the spacing of the alignment grid used in the presentation layout.

Declaration

public float getGridSpacing()

Returns

Type Description
float

The grid spacing, in points.

getNormalViewProperties() Method

Returns properties of the normal view.

Declaration

public NormalViewProperties getNormalViewProperties()

Returns

Type Description
NormalViewProperties

The normal view properties, or null if these properties are not specified.

Remarks

The normal view consists of three content regions: the slide, a side content region, and a bottom content region.

DevExpress Presentation - Normal View

getNotesViewProperties() Method

Returns properties of the notes view mode.

Declaration

public CommonSlideViewProperties getNotesViewProperties()

Returns

Type Description
CommonSlideViewProperties

The notes view properties, or null if these properties are not specified.

getShowComments() Method

Returns whether to display slide comments. Applications may ignore this setting.

Declaration

public boolean getShowComments()

Returns

Type Description
boolean

true to display slide comments; otherwise false.

Remarks

Note

Presentation applications (such as PowerPoint, LibreOffice, or OpenOffice) may ignore this value.

getSlideViewProperties() Method

Returns properties of the slide view mode.

Declaration

public CommonSlideViewProperties getSlideViewProperties()

Returns

Type Description
CommonSlideViewProperties

The slide view properties, or null if these properties are not specified.

setActiveViewType(ViewType value) Method

Sets the preferred initial view type of the presentation. This value does not guarantee that the presentation application displays the presentation in this view.

Declaration

public void setActiveViewType(ViewType value)

Parameters

Name Type Description
value ViewType

The type of the preferred initial view that the application displays when a user opens the presentation.

setGridSpacing(float value) Method

Sets the spacing of the alignment grid used in the presentation layout.

Declaration

public void setGridSpacing(float value)

Parameters

Name Type Description
value float

The grid spacing, in points.

setNormalViewProperties(NormalViewProperties value) Method

Sets properties of the normal view.

Declaration

public void setNormalViewProperties(NormalViewProperties value)

Parameters

Name Type Description
value NormalViewProperties

The normal view properties.

Remarks

The normal view consists of three content regions: the slide, a side content region, and a bottom content region.

DevExpress Presentation - Normal View

setNotesViewProperties(CommonSlideViewProperties value) Method

Sets properties of the notes view mode.

Declaration

public void setNotesViewProperties(CommonSlideViewProperties value)

Parameters

Name Type Description
value CommonSlideViewProperties

The notes view properties.

setShowComments(boolean value) Method

Sets whether to display slide comments. Applications may ignore this setting.

Declaration

public void setShowComments(boolean value)

Parameters

Name Type Description
value boolean

true to display slide comments; otherwise false.

Remarks

Note

Presentation applications (such as PowerPoint, LibreOffice, or OpenOffice) may ignore this value.

setSlideViewProperties(CommonSlideViewProperties value) Method

Sets properties of the slide view mode.

Declaration

public void setSlideViewProperties(CommonSlideViewProperties value)

Parameters

Name Type Description
value CommonSlideViewProperties

The slide view properties.