Table of Contents

Method TryCopyTo

Namespace
PaintDotNet
Assembly
PaintDotNet.Primitives.dll

TryCopyTo(RegionPtr<T>)

Copies the contents of this RegionPtr<T> to the destination RegionPtr<T> if it is large enough.

public bool TryCopyTo(RegionPtr<T> dst)

Parameters

dst RegionPtr<T>

Returns

bool

true if the destination was copied to, or if it was unnecessary to copy (this==dst). false if the dst region was too small.