Package com.pdfgate
Class FlattenPdfParams
java.lang.Object
com.pdfgate.FlattenPdfParams
Parameters for flattening a PDF by document ID.
Flattening converts interactive fields/annotations into a static PDF. Provide
documentId. Responses are JSON-only; use FlattenPdfParams.Builder.build() for a
PdfGateDocument.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FlattenPdfParams.Builderbuilder()Creates a new builder for flatten PDF parameters.Returns the document ID when flattening by document ID.Returns whether the response is JSON.Returns metadata to attach to the document.Returns the pre-signed URL expiration time in seconds.booleanReturns whether the response is JSON.
-
Method Details
-
builder
Creates a new builder for flatten PDF parameters.- Returns:
- the builder for flatten PDF parameters.
-
getDocumentId
Returns the document ID when flattening by document ID.- Returns:
- the document ID when flattening by document ID.
-
getJsonResponse
Returns whether the response is JSON.- Returns:
- whether the response is JSON.
-
isJsonResponse
public boolean isJsonResponse()Returns whether the response is JSON.- Returns:
- whether the response is JSON.
-
getPreSignedUrlExpiresIn
Returns the pre-signed URL expiration time in seconds.- Returns:
- the pre-signed URL expiration time in seconds.
-
getMetadata
Returns metadata to attach to the document.- Returns:
- metadata to attach to the document.
-