The IELayerOptions type exposes the following properties.
Properties
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
AllowMultiSelect |
If enabled, users can select multiple layers by holding down the Shift key. Moving, resizing, rotation, and other methods will apply to all selected layers
| |
AllowReturnsInRichText |
When editing a text layer with formatting enabled, the return key can be used to insert hard returns into text. Otherwise, the return key applies the text changes.
| |
AutoFixBorders |
If enabled, LayersFixBorders will be called prior to rotation to removes any transparency around the edges of the image.
| |
AutoFixRotation |
If enabled, LayersFixRotations will be called after rotation to lock in the rotation angle of image layers.
| |
AutoPromptForImage |
When setting CreateImageLayer in MouseInteract, the user can drag select to create an image layer if AutoPromptForImage is enabled, then the user will be prompted to browse for an image file when after completing the selection. If the user cancels, the image layer is not added.
| |
AutoSelectMask |
If you have enabled a mask for a layer, then when selecting the layer the mask will also be selected (so that any resizing actions apply to the mask layer too)
| |
AutoTextEditing |
When creating Text Layers, the user can drag select to create a TIETextLayer. If AutoTextEditing is enabled, then the layer will automatically start in text editing mode after completing the selection.
| |
AutoUndoChangesByCode |
If you have enabled AutoUndo, then programmatic changes to layers will be saved to the undo stack.
| |
AutoUndoChangesByUser |
If you have enabled AutoUndo, then changes to layers made by users (using layer interactions) will be saved to the undo stack
| |
CtrlClickToCopy |
Holding down the Ctrl key and clicking on a layer will create a clone of it.
| |
DisableTextEditOnDblClick |
By default, double-clicking a text layer allow it to be edited. Specify DisableTextEditOnDblClick to prevent text editing by the user.
| |
DragSelection |
Multiple layers can be selected by clicking the background and dragging.
| |
DynamicCanvas |
If enabled, IEvolution will align the view to the bounds of all layers (i.e. by LayersRect). You will be able to scroll to access layers that have been pushed beyond the bounds of Layer 0. However this may cause the view to scroll when moving layers around (so is best paired with Center=False). When not enabled, the view is aligned with Layer 0, and any layers pushed outside of the bounds of layer 0 may be inaccessible if they are off-screen.
| |
EdgeSmoothing |
When anti-aliasing is enabled, layers may appear with a pale border. This option is reduces the effect (i.e. improves the styling).
| |
KeyboardShortcuts |
Enables keyboard shortcuts to manipulate the selected layer(s), such as Ctrl+C/X/V, Del, Ctrl+A, etc.
| |
PreventDeselection |
Specifies what occurs when the user clicks on the background layer (layer 0). If layer 0 is not selectable. If not included (default) the current layer be set to 0 (though the layer remains unselected). If included the selection does not change.
| |
PreventLayerDelete |
Disables the deletion of layers, e.g. by clicking the Delete key if KeyboardShortcuts is enabled (also disabled Ctrl+X).
| |
PreventOutOfBounds |
>When enabled, layers cannot be moved outside of the background (layer 0) area.
| |
PropsOnDblClick |
When double-clicking a layer (other than the background), it will display the Layer Properties Dialog. Note: For TIETextLayer and TIELineLayer, double-click will enable text editing instead. If you always want to display layer properties, also specify DisableTextEditOnDblClick.
| |
ProtectBackground |
If set, the background layer (Layer 0) cannot be deleted or moved position by the user.
| |
ResizeOnRotate |
When the user rotates a shape or polyline with AspectRatioLocked=True, should the layer be automatically sized to maintain the original size of the shape?
| |
ShowRichTextToolbar |
When editing a text layer with formatting enabled, a rich text toolbar is displayed.
| |
ShowRotationGrip |
When layer rotation is enabled , a large grip is shown at the bottom of layers which can be clicked to rotate the layer. If this option is not include, user can drag rotate anywhere outside of the layer area.
| |
SnapToPos |
Makes it easier to position and align layers by snapping to a virtual grid.
| |
StampMode |
Layers can be added by a single click instead of dragging.
| |
SwapBackgroundProps |
If set, then when the user deletes or moves the background layer (Layer 0), the new background will inherit the Locked and Selectable properties of the old one (and vice versa).
|