Gets the height of the object in TWIPS. | |
Syntax: | long = object.Height object.Height = long |
Description: | For GefObject, it returns the height of the
object in TWIPS. Note: GefScreen.Height returns the height
of the screen's window in pixels. GefScreen.Object.Height returns the
size of the screen object in TWIPS regardless of the window
size. Example: Sub GefObject_Left() Dim oCimObj As GefObject Set oCimObj = CimGetObject MsgBox "The height of the object is " & _ oCimObj.Left
& " in twips" MsgBox "The height of the object is " & _ (oCimObj.Left
/ 20) & " in points" End Sub |