new TransPDFOptions()
        Options for PDFNet.TransPDF.TransPDFOptions
    
    
    
    
    
    
    
Methods
- 
    getBatchSize()
- 
    
    Gets the value BatchSize from the options object. The number of pages to process before saving an intermediate PDF to free resources. A greater number of pages will increase memory usage, and a smaller number will increase processing time. Default is 20.Returns:The current value for BatchSize.- Type
- number
 
- 
    getPages()
- 
    
    Gets the value Pages from the options object. Specifies a set of pages to process, such as "1-5", or "1-3,5,7-10". Open ended ranges are supported, e.g., "3-". By default all pages are processed. The first page is page number 1. This option only affects XLIFF extraction.Returns:The current value for Pages.- Type
- string
 
- 
    getResizeSingleLine()
- 
    
    Gets the value ResizeSingleLine from the options object. If true, single line text boxes will grow and shrink to accommodate translated text.Returns:The current value for ResizeSingleLine.- Type
- boolean
 
- 
    getSourceLanguage()
- 
    
    Gets the value SourceLanguage from the options object. A language code as specified in [RFC 4646] that identifies the language of the source PDF. This will be set as the 'source-language' attribute of the file tag in the extracted XLIFF. Default is 'en' (English).Returns:The current value for SourceLanguage.- Type
- string
 
- 
    setBatchSize(value)
- 
    
    Sets the value for BatchSize in the options object. The number of pages to process before saving an intermediate PDF to free resources. A greater number of pages will increase memory usage, and a smaller number will increase processing time. Default is 20.Parameters:Name Type Description valuenumber The new value for BatchSize Returns:This object, for call chaining.
- 
    setPages(value)
- 
    
    Sets the value for Pages in the options object. Specifies a set of pages to process, such as "1-5", or "1-3,5,7-10". Open ended ranges are supported, e.g., "3-". By default all pages are processed. The first page is page number 1.Parameters:Name Type Description valuestring The new value for Pages Returns:This object, for call chaining.
- 
    setResizeSingleLine(value)
- 
    
    Sets the value for ResizeSingleLine in the options object. If true, single line text boxes will grow and shrink to accommodate translated text.Parameters:Name Type Description valueboolean The new value for ResizeSingleLine Returns:This object, for call chaining.
- 
    setSourceLanguage(value)
- 
    
    Sets the value for SourceLanguage in the options object. A language code as specified in [RFC 4646] that identifies the language of the source PDF. This will be set as the 'source-language' attribute of the file tag in the extracted XLIFF. Default is 'en' (English).Parameters:Name Type Description valuestring The new value for SourceLanguage Returns:This object, for call chaining.
