SelectedShapes Property

Pageflex Document Action API

Pageflex Document Action API SelectedShapes Property
Namespaces > Pageflex.Scripting > Application > SelectedShapes
Gets or sets the Shape object(s) selected in an editing session.
Syntax
C# Visual Basic Managed C++
public static Shape[] SelectedShapes { get; set; }
Public Shared Property SelectedShapes As Shape()
public:
static array<Shape^>^ SelectedShapes {
	array<Shape^>^ get ();
	void set (array<Shape^>^ value);
}
Remarks
Specifies an array of Shape objects representing shapes selected in the current editing session. A value of nullNothingnullptr means no shapes are currently selected.
Exceptions
Exception Condition
IllegalShapeSelectionException The specified shapes are not a valid selection in the current editing session.
WrongApplicationContextException The current Context is not an editing session.
ElementNotVisibleException At least one of the specified shapes is not Visible.
ArgumentNullException The value supplied for value was nullNothingnullptr.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)