NormalViewRestoredProperties.Size Property
Gets the slide region size (width, if used with the RestoredTop property; height, if used with the RestoredLeft property).
Namespace: DevExpress.Docs.Presentation
Assembly: DevExpress.Docs.Presentation.v25.1.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Property Value
Type | Description |
---|---|
Double | The slide region size, in the range of |
Remarks
Create a NormalViewRestoredProperties instance with its constructor to specify this property value.
The following code snippet extends the side content region (sets its Size
to 100.0
) and enables its size autoadjustment:
using (Presentation presentation = new Presentation("document.pptx")) {
NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(100.0, true);
presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps;
}
See Also