Object: Area
- Updated2024-09-12
- 2 minute(s) read
(Area | Areas | BirdsEyeView | Bode | Cascade | ChannelTable | Contour | CurveChart2D | Dialog | DisplayObj | Map | Orbit | Picture | Polar | ShaftCenterline | Sheet | TextBox | Video) > Object: Area
Object: Area
The Area object provides an area in DIAdem VIEW. The Area object also provides access to the object that is displayed in the area. Split an existing Area object to create new Area objects.
The following example divides the existing area and creates a new area with a 2D curve:
| VBScript | Python |
Dim oMySheet, oMyChart, oMyArea, oMyNewArea, oMyCurve Call View.NewLayout() Set oMySheet = View.ActiveSheet oMySheet.Name = "MySheet" Set oMyArea = oMySheet.ActiveArea Set oMyNewArea = oMyArea.SplitRight("NewArea", 0.5) oMyNewArea.Active = True oMyNewArea.DisplayObjType = "CurveChart2D" Set oMyChart = oMyNewArea.DisplayObj Set oMyCurve = oMyChart.Curves2D.Add("[1]/[1]","[1]/[2]")
Properties
Active | BottomMargin | DisplayObj | DisplayObjType | Index | LeftMargin | Name | RightMargin | Sheet | TagStored | TagTemporary | TopMargin
Methods
GetSize | SplitBottom | SplitLeft | SplitRight | SplitTop
Returned From
Area.SplitBottom | Area.SplitLeft | Area.SplitRight | Area.SplitTop | Areas.Copy | Areas.Item | Areas.Move | BirdsEyeView.Area | Bode.Area | Cascade.Area | ChannelTable.Area | Contour.Area | CurveChart2D.Area | Dialog.Area | DisplayObj.Area | DropEventContext.Area | Map.Area | Orbit.Area | Picture.Area | Polar.Area | ShaftCenterline.Area | Sheet.ActiveArea | Sheet.CopyArea | Sheet.CurrArea | Sheet.MoveArea | TextBox.Area | Video.Area