Click or drag to resize
PlanBaseCopyFrom Method
Copy tiles from the specified plan's rectangle to this plan's rectangle.

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

Parameters

Source
Type: (Default Namespace)PlanBase
Specifies another plan specifying a location from which tiles will be copied
RelativePosition
Type: (Default Namespace)RelativePosition
Specifies the alignment of the tiles in this plan's rectangle if the source 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