NormalViewRestoredProperties(Double, Boolean) Constructor
Initializes a new instance of the NormalViewRestoredProperties class with specified settings.
Namespace: DevExpress.Docs.Presentation
Assembly: DevExpress.Docs.Presentation.v25.1.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Parameters
Name | Type | Description |
---|---|---|
size | Double | The slide region size (width when used with |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
autoAdjust | Boolean | True |
|
Remarks
The following code snippet creates the NormalViewRestoredProperties instance with the specified AutoAdjust and Size properties:
using (Presentation presentation = new Presentation("document.pptx")) {
NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(100.0, false);
presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps;
}
See Also