Show / Hide Table of Contents

Class CreatePDFFromExcelParams.Builder

Builds a CreatePDFFromExcelParams instance.

Inheritance
System.Object
CreatePDFFromExcelParams.Builder
Namespace: Adobe.PDFServicesSDK.pdfjobs.parameters.createpdf.excel
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class Builder

Constructors

Builder()

Constructs a Builder instance.

Declaration
public Builder()

Methods

Build()

Builds a new CreatePDFFromExcelParams instance from the current state of this builder.

Declaration
public CreatePDFFromExcelParams Build()
Returns
Type Description
CreatePDFFromExcelParams

A new CreatePDFFromExcelParams instance

WithCreateTaggedPDF(Boolean)

Sets whether to create a tagged PDF. The default value is false. For internal use only.

Declaration
public CreatePDFFromExcelParams.Builder WithCreateTaggedPDF(bool createTaggedPDF)
Parameters
Type Name Description
System.Boolean createTaggedPDF

boolean to specify create a tagged PDF

Returns
Type Description
CreatePDFFromExcelParams.Builder

this Builder instance to add any additional parameters

WithDocumentLanguage(DocumentLanguage)

Sets office preferred editing language to be used for conversion, specified by DocumentLanguage.

Declaration
public CreatePDFFromExcelParams.Builder WithDocumentLanguage(DocumentLanguage documentLanguage)
Parameters
Type Name Description
DocumentLanguage documentLanguage

DocumentLanguage; can not be null. Default value is EN_US

Returns
Type Description
CreatePDFFromExcelParams.Builder

this Builder instance to add any additional parameters

WithIsActiveSheetConversion(Boolean)

Sets whether to convert only the active sheet of an Excel file. The default value is false. For internal use only.

Declaration
public CreatePDFFromExcelParams.Builder WithIsActiveSheetConversion(bool isActiveSheetConversion)
Parameters
Type Name Description
System.Boolean isActiveSheetConversion

boolean to convert only the active sheet of an Excel file

Returns
Type Description
CreatePDFFromExcelParams.Builder

this Builder instance to add any additional parameters

WithPageRange(PageRange)

Sets the PageRange for conversion.

Declaration
public CreatePDFFromExcelParams.Builder WithPageRange(PageRange pageRange)
Parameters
Type Name Description
Adobe.PDFServicesSDK.core.parameters.PageRange pageRange

The PageRange object specifying the range of pages to be converted.

Returns
Type Description
CreatePDFFromExcelParams.Builder

This Builder instance to add any additional parameters.

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