Shape panel
Previous  Top  Next


This panel is where you edit the shape's properties, therefore it is probably the most important panel in the application.

Since there are many different shapes (possibly even more in future), the shape panel changes with each shape to allow editing of the properties. These panels are also part of the DtpDocuments library, and can (but must neccesarily) be used.

Below is a view of the shape panel of the Memo shape:

clip0022

Some parts of this panel are common with all shape panels, e.g. the Master Alpha, Rotation Angle, the properties Width, Height, Left, Top, and the button [Set Anchors]. These will be explained below.

Note: there are many more properties internal to the basic shape, but not all of these are exposed in the demo. Please consult the additional documentation on the component architecture for that.

Properties:

·Master Alpha This property determines how transparent the shape will be, overall. It's default value is 255, which corresponds to fully opaque. You can adjust this gradually all the way down to 0, which means fully transparent. In this case the shape is no longer visible.  
·Rotation Angle Set this angle in degrees to rotate the shape. You can use a decimal notation for finetuning. You can also rotate the shape with the mouse by dragging the round rotation handle on the right. The edit box listed here is rather for precision placement.  
·Left, Top position This pinpoints the left and top position of the shape's rectangle within the parent page.  
·Width, Height This is the size of the shape's encompassing rectangle. You can also change the shape's size by dragging the sides or corners. Some shape types will automatically keep to a certain aspect ratio and some shapes will even not allow manual resizing.  
·Set Anchors Use this button to edit the anchors. Anchors define how the shape moves and resizes whenever the parent shape moves or resizes. The current value is displayed in square brackets behind the button, e.g. [Default].