Show / Hide Table of Contents

# Class TransPDF

static interface to TransPDF xliff extraction and importing

##### Inheritance

object
TransPDF

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public sealed class TransPDF

### Constructors

#### TransPDF()

##### Declaration

    public TransPDF()

### Methods

#### ApplyXLIFF(PDFDoc, string)

Import translated XLIFF into a tagged PDF.

##### Declaration

    public static void ApplyXLIFF(PDFDoc input, string incoming_xliff)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | input | The pdf to be processed.
string | incoming_xliff | Path to the XLIFF to import.

#### ApplyXLIFF(PDFDoc, string, TransPDFOptions)

Import translated XLIFF into a tagged PDF.

##### Declaration

    public static void ApplyXLIFF(PDFDoc input, string incoming_xliff, TransPDFOptions options)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | input | The pdf to be processed.
string | incoming_xliff | Path to the XLIFF to import.
TransPDFOptions | options | TransPDF options (optional).

#### ApplyXLIFFWithFilter(PDFDoc, Filter)

Import translated XLIFF into a tagged PDF.

##### Declaration

    public static void ApplyXLIFFWithFilter(PDFDoc input, Filter incoming_xliff)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | input | The pdf to be processed.
Filter | incoming_xliff | The XLIFF to import.

#### ApplyXLIFFWithFilter(PDFDoc, Filter, TransPDFOptions)

Import translated XLIFF into a tagged PDF.

##### Declaration

    public static void ApplyXLIFFWithFilter(PDFDoc input, Filter incoming_xliff, TransPDFOptions options)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | input | The pdf to be processed.
Filter | incoming_xliff | The XLIFF to import.
TransPDFOptions | options | TransPDF options (optional).

#### ExtractXLIFF(PDFDoc, string)

Extract the XLIFF and tag a PDF for translation.

##### Declaration

    public static void ExtractXLIFF(PDFDoc input_output_pdf, string output_xliff)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | input_output_pdf | The pdf to be processed.
string | output_xliff | Path to the extracted XLIFF.

#### ExtractXLIFF(PDFDoc, string, TransPDFOptions)

Extract the XLIFF and tag a PDF for translation.

##### Declaration

    public static void ExtractXLIFF(PDFDoc input_output_pdf, string output_xliff, TransPDFOptions options)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | input_output_pdf | The pdf to be processed.
string | output_xliff | Path to the extracted XLIFF.
TransPDFOptions | options | TransPDF options (optional).

#### ExtractXLIFFWithFilter(PDFDoc, Filter)

Extract the XLIFF and tag a PDF for translation.

##### Declaration

    public static void ExtractXLIFFWithFilter(PDFDoc input_output_pdf, Filter output_stream_for_xliff)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | input_output_pdf | The pdf to be processed.
Filter | output_stream_for_xliff | The XLIFF extracted.

#### ExtractXLIFFWithFilter(PDFDoc, Filter, TransPDFOptions)

Extract the XLIFF and tag a PDF for translation.

##### Declaration

    public static void ExtractXLIFFWithFilter(PDFDoc input_output_pdf, Filter output_stream_for_xliff, TransPDFOptions options)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | input_output_pdf | The pdf to be processed.
Filter | output_stream_for_xliff | The XLIFF extracted.
TransPDFOptions | options | TransPDF options (optional).