> ## 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.

# RemoveFromPage Method of the PDFPicture Object

This method deletes a picture position from a document page.

## Syntax

### C++

```cpp theme={null}
HRESULT RemoveFromPage( int PageIndex );
```

### C\#

```csharp theme={null}
void RemoveFromPage( int PageIndex );
```

### Visual Basic .NET

```vb theme={null}
Sub RemoveFromPage( PageIndex As Integer )
```

## Parameters

PageIndex

\[in] Specifies the page index from which a picture position should be deleted. The default value is -1, which means that the image position will be deleted from all pages, provided that the same value for page index has been specified using the [SetLocation](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfpicture/setlocation-method) method. If you need to delete the pictures positions from certain pages, you should list the indexes of the desired pages, for example, (4, 8, 11, 19).

## Remarks

Alternatively, you may also use the [DeleteAt](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/deleteat-method) method to remove an element from the collection.

## Return values

This function has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[PDFPicture](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfpicture)
