Object: SheetDimensions
- Updated2024-09-12
- 1 minute(s) read
Object: SheetDimensions
The SheetDimensions object provides the properties of the page format in DIAdem REPORT.
The following example changes the page ratio and displays the value:
| VBScript | Python |
Dim oMyDimensions, oMySheetDimension Set oMyDimensions = Report.Settings.Page.Dimensions oMyDimensions.UseScaledOutput = False oMyDimensions.Ratio = 1.5 Set oMySheetDimension = Report.ActiveSheet.Dimensions oMySheetDimension.Orientation = ePageOrientationLandscape oMySheetDimension.UseLocalSettings = True Call MsgBoxDisp(oMySheetDimension.Ratio)
Properties
Height | Orientation | Ratio | UseLocalSettings | Width