DIAdem Help

Property: UseScaledOutput for DisplayDimensions

  • Updated2024-09-12
  • 1 minute(s) read

Property: UseScaledOutput for DisplayDimensions

Specifies whether DIAdem REPORT enables scaled display.

Object.UseScaledOutput
ObjectDisplayDimensions
Object with this property
Object.UseScaledOutputBoolean with read and write access
Specifies whether DIAdem REPORT enables the scaled display (TRUE) or not (FALSE).

The following example enables the scaled display, defines a page format, generates a 2D axis system with a curve, and specifies the scaling properties:

VBScriptPython

 

Dim oMy2DAxisSystem, oMyPageDimensions, oMy2DCurve, oMyPos, oMyXScaling, oMyYScaling
Call Report.NewLayout()
Set oMyPageDimensions = Report.Settings.Page.Dimensions
oMyPageDimensions.UseScaledOutput = True
oMyPageDimensions.ScaledHeight = 26
oMyPageDimensions.ScaledWidth = 18
Set oMy2DAxisSystem = Report.ActiveSheet.Objects.Add(eReportObject2DAxisSystem, "My2DAxisSystem")
Set oMyPos = oMy2DAxisSystem.Position.ByCoordinate
oMyPos.X1 = 2
oMyPos.X2 = 15
oMyPos.Y1 = 5
oMyPos.Y2 = 15
Set oMy2DCurve = oMy2DaxisSystem.Curves2D.Add(e2DShapeLine, "MyNew2DCurve")
oMy2DCurve.Shape.XChannel.Reference = "[1]/[1]"
oMy2DCurve.Shape.YChannel.Reference = "[1]/[2]"
Set oMyXScaling = oMy2DAxisSystem.XAxis.Scaling.ScaledOutput
oMyXScaling.AutoScalingType = eAxisAutoScalingScaledOutputCompleteAutomatic
Set oMyYScaling = oMy2DAxisSystem.YAxis.Scaling.ScaledOutput
oMyYScaling.AutoScalingType = eAxisAutoScalingScaledOutputCompleteAutomatic
Call Report.Refresh()

Log in to get a better experience