NextShapeToDraw Property

Pageflex Document Action API

Pageflex Document Action API NextShapeToDraw Property
Namespaces > Pageflex.Scripting > Shape > NextShapeToDraw
Gets or sets the next Shape in the Container's draw order.
Syntax
C# Visual Basic Managed C++
public Shape NextShapeToDraw { get; set; }
Public Property NextShapeToDraw As Shape
public:
Shape^ NextShapeToDraw {
	Shape^ get ();
	void set (Shape^ value);
}
Remarks
Specifies the next Shape in the Container's draw order, or nullNothingnullptr if this shape is frontmost.

If two shapes overlap, the shape which is later in the draw order appears on top.

If setting this property, the two shapes must have the same Container. This shape's position in the draw order is changed to be immediately before the specified shape.

Exceptions
Exception Condition
UnrelatedShapesException The two shapes do not have the same Container.
ShapeNotFixedException Draw order is only applicable to shapes with a fixed position.
ElementNotVisibleException The referenced shape is not Visible.
StaleScriptingObjectException This object's associated internal object no longer exists.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)