> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CopyFrom Method

This method initializes properties of the current object with the values of similar properties of another object.

## Syntax

```vb Visual Basic .NET theme={null}
Sub CopyFrom(From As ObjectType)
```

```cpp C++ theme={null}
HRESULT CopyFrom(
  IObjectType* From
);
```

## Parameters

**From**

\[in] This variable refers to the object of the same type as the current one. This object serves as a source data to be copied into the current object.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## Remarks

The following objects provide this method:

* [**BarcodeParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcodeparams.md)
* [**ExportParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/exportparams.md)
* [**FieldValuesCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fieldvaluescollection.md)
* [**ImageGroupingParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagegroupingparams.md)
* [**ImageLoadingParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageloadingparams.md)
* [**ImageProcessingParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingparams.md)
* [**JpegExtendedParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/jpegextendedparams.md)
* [**Language**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/language.md)
* [**IntsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/intscollection.md)
* [**PageAnalysisParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/pageanalysisparams.md)
* [**Region**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/region.md)
* [**StringsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/stringscollection.md)

## See also

[Working with Collections](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/collections.md)
