![]() | DIAdem 2017 Help |
![]() | DIAdem 2018 Help |
![]() | DIAdem 2019 Help |
![]() | DIAdem 2020 Help |
![]() | DIAdem 2020 SP1 Help |
Specifies the position of a graphic in a DIAdem REPORT worksheet.
Set oObjectPosition = Object.Position
Object | Image Object with this property |
oObjectPosition | ObjectPosition Returned object |
The following example generates a graphic and specifies the position of this graphic:
Dim oMyImage Call Report.NewLayout() Set oMyImage = Report.ActiveSheet.Objects.Add(eReportObjectImage, "MyImage") oMyImage.FileName = MediaLibrPath & "Example1.png" Call oMyImage.BackgroundColor.SetPredefinedColor(eColorIndexDarkRed) oMyImage.Position.ByBorder.Left = 30 oMyImage.Position.ByBorder.Right = 60 oMyImage.Position.ByBorder.Top = 10 oMyImage.Position.ByBorder.Bottom = 70 Call Report.Refresh()
Helpful
Not Helpful