# WebConvertInfo Class

> Result metadata for a completed web-to-PDF conversion: page count, conversion time, document title, and resolved source URL.

- Product: Adobe PDF Library 21
- Language: Java
- Version: APDFL21.0.0PlusP1c
- HTML page: https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1c/class/WebConvertInfo
- Version index: https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1c/llms.txt

```java
class WebConvertInfo
```

**Namespace:** `com::datalogics::PDFL`

## Description

Result metadata for a completed web-to-PDF conversion: page count, conversion time, document title, and resolved source URL. `Populate()` reads the plugin's last-conversion record on supported platforms and is a no-op (returning false) on the stub path; the page count is then overridden by the curator bridge with the authoritative count from the opened PDF.

Header has no plugin-typed surface; all conversions live in the .cpp.

**Referenced by:** [`Document`](https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1c/class/Document.md), [`WebConvertInfo`](https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1c/class/WebConvertInfo.md)

**Uses types:** [`WebConvertInfo`](https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1c/class/WebConvertInfo.md)

## Constructors

### WebConvertInfo

```java
com.datalogics.PDFL.WebConvertInfo.WebConvertInfo()
```

*constructor*

### WebConvertInfo

```java
com.datalogics.PDFL.WebConvertInfo.WebConvertInfo(WebConvertInfo arg0)
```

*constructor*

**Parameters**

- `arg0` ([`WebConvertInfo`](https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1c/class/WebConvertInfo.md))

## Methods

### delete

```java
synchronized void com.datalogics.PDFL.WebConvertInfo.delete(Boolean disposing)
```

*protected*

**Parameters**

- `disposing` (`Boolean`)

**Returns:** `synchronized void`

### delete

```java
synchronized void com.datalogics.PDFL.WebConvertInfo.delete()
```

**Returns:** `synchronized void`

### finalize

```java
void com.datalogics.PDFL.WebConvertInfo.finalize()
```

*protected*

**Returns:** `void`

### getConversionTimeMs

```java
int com.datalogics.PDFL.WebConvertInfo.getConversionTimeMs()
```

**Returns:** `int`

### getPageCount

```java
int com.datalogics.PDFL.WebConvertInfo.getPageCount()
```

**Returns:** `int`

### getSourceUrl

```java
String com.datalogics.PDFL.WebConvertInfo.getSourceUrl()
```

**Returns:** `String`

### getTitle

```java
String com.datalogics.PDFL.WebConvertInfo.getTitle()
```

**Returns:** `String`

### populate

```java
boolean com.datalogics.PDFL.WebConvertInfo.populate()
```

**Returns:** `boolean`

Call WebToPDFGetConversionInfo and copy strings out. Returns false (and leaves this in its default state) if the plugin reports no previous conversion.

### setPageCount

```java
void com.datalogics.PDFL.WebConvertInfo.setPageCount(int n)
```

**Parameters**

- `n` (`int`)

**Returns:** `void`

Override the page count with the authoritative value from the opened PDF. The plugin reports 0 (it never opens its output); the curator bridge sets this from the returned Document's PDDocGetNumPages.
