Back to Devexpress

NormalViewProperties.RestoredTop Property

officefileapi-devexpress-dot-docs-dot-presentation-dot-normalviewproperties-2d60a15f.md

latest2.2 KB
Original Source

NormalViewProperties.RestoredTop Property

Gets or sets the height of the slide area in the normal view (when the slide area is not minimized or maximized).

Namespace : DevExpress.Docs.Presentation

Assembly : DevExpress.Docs.Presentation.v25.2.dll

NuGet Package : DevExpress.Docs.Presentation

Declaration

csharp
public NormalViewRestoredProperties RestoredTop { get; set; }
vb
Public Property RestoredTop As NormalViewRestoredProperties

Property Value

TypeDefaultDescription
NormalViewRestoredPropertiesNormalViewRestoredProperties.Default

The size of the top content region.

|

Remarks

The following code snippet resizes the slide region and disables its size autoadjustment:

csharp
using (Presentation presentation = new Presentation("document.pptx")) {
    NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(10.0, false);
    presentation.ViewProperties.NormalViewProperties.RestoredTop = viewProps;
}
vb
Using presentation As New Presentation("document.pptx")
    Dim viewProps As New NormalViewRestoredProperties(10.0, False)
    presentation.ViewProperties.NormalViewProperties.RestoredTop = viewProps
End Using

See Also

NormalViewProperties Class

NormalViewProperties Members

DevExpress.Docs.Presentation Namespace