SelElement Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:16

Description

Selected elements interface.

Syntax

Dim obj as ElementProp = Page.SelElement()

Remarks

Returns the selection on page.

Example

    ' check for wrap

    Dim obj As ElementProp = Page.SelElement()

 

    Dim nObj = obj.NumShapes

    Dim y As Long = 0

    Dim y1 = obj.ShapeBBox(0, 1)

    If y1 > 0 Then  ' object wraps around something

      y = y + y1    ' adjust y-pos

    End If

Context

Page designer

See also

SelElement.Text

SelElement.PlainText