PdfSaveOptions

Overview

PdfSaveOptions is a class in Aspose.3D FOSS for Java. Inherits from: SaveOptions.

The save options in PDF exporting.

This class provides 31 methods for working with PdfSaveOptions objects in Java programs. Available methods include: PdfSaveOptions, SaveOptions, getAuxiliaryColor, getBackgroundColor, getEmbedTextures, getEncoding, getExportTextures, getFaceColor, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, and 17 additional methods. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: auxiliaryColor, backgroundColor, embedTextures, encoding, exportTextures, faceColor, and 8 more.

Properties

NameTypeAccessDescription
renderModePdfRenderModeRead/WriteRender mode specifies the style in which the 3D artwork is rendered.
lightingSchemePdfLightingSchemeRead/WriteLightingScheme specifies the lighting to apply to 3D artwork.
backgroundColorVector3Read/WriteBackground color of the 3D view in PDF file.
faceColorVector3Read/WriteGets the face color to be used when rendering the 3D content.
auxiliaryColorVector3Read/WriteGets the auxiliary color to be used when rendering the 3D content.
flipCoordinateSystembooleanRead/WriteGets to flip the coordinate system of the scene during exporting.
embedTexturesbooleanRead/WriteEmbed the external textures into the PDF file, default value is false.
exportTexturesbooleanReadTry to copy textures used in scene to output directory.
fileFormatFileFormatReadGets the file format.
fileSystemFactoryFileSystemFactoryReadGets the factory class for FileSystem.
encodingjava.nio.charset.CharsetRead/WriteGets the default encoding for text-based files.
fileSystemFileSystemRead/WriteAllow user to handle how to manage the external dependencies during load/save.
lookupPathsjava.util.ArrayList<String>Read/WriteSome files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
fileNameStringRead/WriteThe file name of the exporting/importing scene.

Methods

SignatureDescription
PdfSaveOptions()Constructor of PdfSaveOptions.
getRenderMode() → PdfRenderModeRender mode specifies the style in which the 3D artwork is rendered.
setRenderMode(value: PdfRenderMode)Render mode specifies the style in which the 3D artwork is rendered.
getLightingScheme() → PdfLightingSchemeLightingScheme specifies the lighting to apply to 3D artwork.
setLightingScheme(value: PdfLightingScheme)LightingScheme specifies the lighting to apply to 3D artwork.
getBackgroundColor() → Vector3Background color of the 3D view in PDF file.
setBackgroundColor(value: Vector3)Background color of the 3D view in PDF file.
getFaceColor() → Vector3Gets the face color to be used when rendering the 3D content.
setFaceColor(value: Vector3)Sets the face color to be used when rendering the 3D content.
getAuxiliaryColor() → Vector3Gets the auxiliary color to be used when rendering the 3D content.
setAuxiliaryColor(value: Vector3)Sets the auxiliary color to be used when rendering the 3D content.
getFlipCoordinateSystem() → booleanGets to flip the coordinate system of the scene during exporting.
setFlipCoordinateSystem(value: boolean)Sets to flip the coordinate system of the scene during exporting.
getEmbedTextures() → booleanEmbed the external textures into the PDF file, default value is false.
setEmbedTextures(value: boolean)Embed the external textures into the PDF file, default value is false.
SaveOptions()Initializes a new instance of the SaveOptions class.
SaveOptions(format: FileFormat)Initializes a new instance of the SaveOptions class with a file format.
SaveOptions(contentType: FileContentType)Initializes a new instance of the SaveOptions class with a file content type.
getExportTextures() → booleanTry to copy textures used in scene to output directory.
setExportTextures(value: boolean)Try to copy textures used in scene to output directory.
getFileFormat() → FileFormatReturns the file format.
getFileSystemFactory() → FileSystemFactoryGets the factory class for FileSystem.
setFileSystemFactory(value: FileSystemFactory)Sets the factory class for FileSystem.
getEncoding() → java.nio.charset.CharsetGets the default encoding for text-based files.
setEncoding(value: java.nio.charset.Charset)Sets the default encoding for text-based files.
getFileSystem() → FileSystemAllow user to handle how to manage the external dependencies during load/save.
setFileSystem(value: FileSystem)Allow user to handle how to manage the external dependencies during load/save.
getLookupPaths() → java.util.ArrayList<String>Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
setLookupPaths(value: java.util.ArrayList<String>)Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
getFileName() → StringThe file name of the exporting/importing scene.
setFileName(value: String)The file name of the exporting/importing scene.

See Also

 English