How Tos

The samples and documentation should get you quickly up and running with PDF Accessibility Auto-Tag capabilities in the PDFServices SDK including:

For code examples illustrating other PDF actions including those below, see the PDFServices SDK :

Custom timeout configuration

The APIs use inferred timeout properties and provide defaults. However, the SDK supports custom timeouts for the API calls. You can tailor the timeout settings for your environment and network speed. In addition to the details below, you can refer to working code samples:

Java timeout configuration

Available properties:

Override the timeout properties via a custom ClientConfig class:

data-slots=heading, code
data-repeat=1
data-languages=Java
ClientConfig clientConfig = ClientConfig.builder()
    .withConnectTimeout(3000)
    .withSocketTimeout(20000)
    .build();

.NET timeout configuration

Available properties:

Override the timeout properties via a custom ClientConfig class:

data-slots=heading, code
data-repeat=1
data-languages=.NET
ClientConfig clientConfig = ClientConfig.ConfigBuilder()
    .WithTimeout(500000)
    .Build();

Node.js timeout configuration

Available properties:

Override the timeout properties via a custom ClientConfig class:

data-slots=heading, code
data-repeat=1
data-languages=Node JS
const clientConfig = new ClientConfig({
    timeout: 15000
})

Python timeout configuration

Available properties:

Override the timeout properties via a custom ClientConfig class:

data-slots=heading, code
data-repeat=1
data-languages=Python
client_config = ClientConfig(
    connect_timeout=4000,
    read_timeout=10000
)