ResizeAction

ObjectActionAction
[IoId("00000000-bf00-4571-a83b-c236d7c7820e")] [UiName("Object Size")] public sealed class ResizeAction : ObjectAction
Undo action for object attribute bound changes.

Constructors

ResizeAction

#
public ResizeAction()

ResizeAction

#
public ResizeAction(
reader
)

Properties

Id

Gets the IDocumentObject.InstanceId of the object associated with this action.
public Guid Id { get; }
inherited fromObjectAction

Pivot

#
public PointF Pivot { get; }

Response

Gets the automatic response required by this action.
public Effects Response { get; }
inherited fromAction

Size

#
public SizeF Size { get; }

State

Gets the state this action is in.
public State State { get; }
inherited fromAction

Methods

Extends

#
public override bool Extends(
action
)
Action.Extends

PerformRedo

Redo this action. This is only allowed if the Action.State equals State.Redo.
public bool PerformRedo()
inherited fromAction

PerformRedoInternal

#
protected override void PerformRedoInternal()

PerformRedoInternal

protected sealed override void PerformRedoInternal()
inherited fromObjectAction

PerformUndo

Undo this action. This is only allowed if the Action.State equals State.Undo.
public bool PerformUndo()
inherited fromAction

PerformUndoInternal

#
protected override void PerformUndoInternal()

PerformUndoInternal

protected sealed override void PerformUndoInternal()
inherited fromObjectAction

PrepareRedo

Run the preperatory work for a redo operation. The Action.PerformRedo(Document) method ought never be called without a preceding call to Action.PrepareRedo(Document), although note that a call to Action.PrepareRedo(Document) is not necessarily followed by a call to Action.PerformRedo(Document).
public bool PrepareRedo()
inherited fromAction

PrepareRedoInternal

protected virtual void PrepareRedoInternal()
inherited fromObjectAction

PrepareRedoInternal

protected sealed override void PrepareRedoInternal()
inherited fromObjectAction

PrepareUndo

Run the preperatory work for an undo operation. The Action.PerformUndo(Document) method ought never be called without a preceding call to Action.PrepareUndo(Document), although note that a call to Action.PrepareUndo(Document) is not necessarily followed by a call to Action.PerformUndo(Document).
public bool PrepareUndo()
inherited fromAction

PrepareUndoInternal

protected virtual void PrepareUndoInternal()
inherited fromObjectAction

PrepareUndoInternal

protected sealed override void PrepareUndoInternal()
inherited fromObjectAction

Store

#
public override void Store(
writer
)