Click or drag to resize
PlanBaseCopyTo Method
Copy tiles from this plan's rectangle to another plan's rectangle.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void CopyTo(
	PlanBase Target,
	RelativePosition RelativePosition
)

Parameters

Target
Type: (Default Namespace)PlanBase
Specifies another plan specifying a location to which tiles will be copied
RelativePosition
Type: (Default Namespace)RelativePosition
Specifies the alignment of the tiles in the target rectangle if this plan's rectangle is a different size
Remarks
If the source rectangle is larger than the target rectangle, the copy locations will be aligned according to RelativePosition, and the copied tiles will be allowed to overflow the target rectangle. For example, if the alignment is RightMiddle, the right middle tile of the source rectangle will be copied into the right middle tile of the target rectangle, and build around there regardless of the target rectangle's size.
See Also