PReflect

Reflects the selected object, either vertically or horizontally, along the specified handle.


Command constructor

PReflect(short cHandle, short cAxis);
short cHandle;
Handle to use as reflection point:

Side handles:
kEdgeLeft
kEdgeRight
kEdgeTop
kEdgeBottom

Center of object:
kEdgeCenter

Corner handles:
kEdgeLeftTop
kEdgeLeftBottom
kEdgeRightTop
kEdgeRightBottom

short cAxis;
kParmNone to return an object to its original orientation
kParmHorizontal to reflect horizontally (along xaxis)
kParmVertical to reflect vertically (along y axis)
Single objects only. You can reflect only one object at a time.

Whole text blocks. The PReflect command reflects whole text blocks, not individual characters or groups of characters within a text block. You must select a text block with the PSelect command or the pointer tool, not with the PTextSelect command or text tool.

Reflecting lines. If the selected object is a line, the only valid values for cHandle are:

Reflection not cumulative. Reflection is not cumulative. Always specify reflection parameters in relation to the original (unreflected) position of the object.

Text automatically recomposed. When text is reflected, PageMaker recomposes the text to wrap around any object that has text-wrap attributes, which is specified with the PTextWrap command.

cHandle for transformed objects. If the selected object was skewed, rotated, or reflected, cHandle should correspond to the handle before the object was transformed. For example, kEdgeLeftTop always refers to the original left-top handle of an object, not the handle that is currently the left-most top handle.

Layout view only. The PReflect command works only in layout view.

Example. The following example selects the fifth object drawn and reflects it horizontally, centered around the left-bottom corner handle.

PSelect(5);
PReflect(kEdgeLeftBottom, kParmHorizontal);


See also

The PTextWrap command

The PGetTransform query

Adobe PageMaker 6.5 Help > Commands > Window > Control Palette


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support .