Show / Hide Table of Contents

Class InsertPagesParams.Builder

Builds a InsertPagesParams instance.

Inheritance
System.Object
InsertPagesParams.Builder
Namespace: Adobe.PDFServicesSDK.pdfjobs.parameters.insertpages
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class Builder

Constructors

Builder(IAsset)

Constructs a Builder instance.

Declaration
public Builder(IAsset asset)
Parameters
Type Name Description
IAsset asset

the base IAsset to insert pages into; can not be null.

Methods

AddPagesToInsertAt(IAsset, PageRanges, Int32)

Adds the specified pages of the input PDF file to be inserted at the specified page of the base PDF file

This method can be invoked multiple times with the same or different input PDF files.

Declaration
public InsertPagesParams.Builder AddPagesToInsertAt(IAsset inputAsset, PageRanges pageRanges, int basePage)
Parameters
Type Name Description
IAsset inputAsset

a PDF file for insertion; can not be null.

PageRanges pageRanges

page ranges of the input PDF file; can not be null.

System.Int32 basePage

page of the base PDF file; can not be null.

Returns
Type Description
InsertPagesParams.Builder

this Builder instance to add any additional parameters

AddPagesToInsertAt(IAsset, Int32)

Adds the specified pages of the input PDF file to be inserted at the specified page of the base PDF file

This method can be invoked multiple times with the same or different input PDF files.

Declaration
public InsertPagesParams.Builder AddPagesToInsertAt(IAsset inputAsset, int basePage)
Parameters
Type Name Description
IAsset inputAsset

a PDF file for insertion; can not be null

System.Int32 basePage

page of the base PDF file

Returns
Type Description
InsertPagesParams.Builder

this Builder instance to add any additional parameters

Build()

Returns a new InsertPagesParams instance built from the current state of this builder.

Declaration
public InsertPagesParams Build()
Returns
Type Description
InsertPagesParams

A new InsertPagesParams instance

In This Article
Back to top Copyright © 2020 Adobe. All rights reserved.