PdfSaveOptions

Inheritance: java.lang.Object, com.aspose.threed.IOConfig, com.aspose.threed.SaveOptions

public class PdfSaveOptions extends SaveOptions

The save options in PDF exporting.

Constructors

ConstructorDescription
PdfSaveOptions()Constructor of PdfSaveOptions

Methods

MethodDescription
equals(Object arg0)
getAuxiliaryColor()Gets the auxiliary color to be used when rendering the 3D content.
getBackgroundColor()Background color of the 3D view in PDF file.
getClass()
getEmbedTextures()Embed the external textures into the PDF file, default value is false.
getEncoding()Gets the default encoding for text-based files.
getExportTextures()Try to copy textures used in scene to output directory.
getFaceColor()Gets the face color to be used when rendering the 3D content.
getFileFormat()Gets the file format that specified in current Save/Load option.
getFileName()The file name of the exporting/importing scene.
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.
getFileSystemFactory()Gets the factory class for FileSystem.
getFlipCoordinateSystem()Gets to flip the coordinate system of the scene during exporting.
getLightingScheme()LightingScheme specifies the lighting to apply to 3D artwork.
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
getRenderMode()Render mode specifies the style in which the 3D artwork is rendered.
hashCode()
notify()
notifyAll()
setAuxiliaryColor(Vector3 value)Sets the auxiliary color to be used when rendering the 3D content.
setBackgroundColor(Vector3 value)Background color of the 3D view in PDF file.
setEmbedTextures(boolean value)Embed the external textures into the PDF file, default value is false.
setEncoding(Charset value)Sets the default encoding for text-based files.
setExportTextures(boolean value)Try to copy textures used in scene to output directory.
setFaceColor(Vector3 value)Sets the face color to be used when rendering the 3D content.
setFileName(String value)The file name of the exporting/importing scene.
setFileSystem(FileSystem value)Allow user to handle how to manage the external dependencies during load/save.
setFileSystemFactory(FileSystemFactory value)Sets the factory class for FileSystem.
setFlipCoordinateSystem(boolean value)Sets to flip the coordinate system of the scene during exporting.
setLightingScheme(PdfLightingScheme value)LightingScheme specifies the lighting to apply to 3D artwork.
setLookupPaths(ArrayList value)Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
setRenderMode(PdfRenderMode value)Render mode specifies the style in which the 3D artwork is rendered.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PdfSaveOptions()

public PdfSaveOptions()

Constructor of PdfSaveOptions

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAuxiliaryColor()

public Vector3 getAuxiliaryColor()

Gets the auxiliary color to be used when rendering the 3D content. The interpretation of this color depends on the getRenderMode

Returns: Vector3

getBackgroundColor()

public Vector3 getBackgroundColor()

Background color of the 3D view in PDF file.

Returns: Vector3

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEmbedTextures()

public boolean getEmbedTextures()

Embed the external textures into the PDF file, default value is false.

Returns: boolean

getEncoding()

public Charset getEncoding()

Gets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Returns: java.nio.charset.Charset

getExportTextures()

public boolean getExportTextures()

Try to copy textures used in scene to output directory.

Returns: boolean

getFaceColor()

public Vector3 getFaceColor()

Gets the face color to be used when rendering the 3D content. This is only relevant only when the getRenderMode has a value of Illustration.

Returns: Vector3

getFileFormat()

public FileFormat getFileFormat()

Gets the file format that specified in current Save/Load option.

Returns: FileFormat

getFileName()

public String getFileName()

The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Returns: java.lang.String

getFileSystem()

public FileSystem getFileSystem()

Allow user to handle how to manage the external dependencies during load/save.

Returns: FileSystem

getFileSystemFactory()

public static FileSystemFactory getFileSystemFactory()

Gets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.

Returns: FileSystemFactory

getFlipCoordinateSystem()

public boolean getFlipCoordinateSystem()

Gets to flip the coordinate system of the scene during exporting.

Returns: boolean

getLightingScheme()

public PdfLightingScheme getLightingScheme()

LightingScheme specifies the lighting to apply to 3D artwork.

Returns: PdfLightingScheme

getLookupPaths()

public ArrayList<String> getLookupPaths()

Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Returns: java.util.ArrayList<java.lang.String>

getRenderMode()

public PdfRenderMode getRenderMode()

Render mode specifies the style in which the 3D artwork is rendered.

Returns: PdfRenderMode

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAuxiliaryColor(Vector3 value)

public void setAuxiliaryColor(Vector3 value)

Sets the auxiliary color to be used when rendering the 3D content. The interpretation of this color depends on the getRenderMode

Parameters:

ParameterTypeDescription
valueVector3New value

setBackgroundColor(Vector3 value)

public void setBackgroundColor(Vector3 value)

Background color of the 3D view in PDF file.

Parameters:

ParameterTypeDescription
valueVector3New value

setEmbedTextures(boolean value)

public void setEmbedTextures(boolean value)

Embed the external textures into the PDF file, default value is false.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setEncoding(Charset value)

public void setEncoding(Charset value)

Sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Parameters:

ParameterTypeDescription
valuejava.nio.charset.CharsetNew value

setExportTextures(boolean value)

public void setExportTextures(boolean value)

Try to copy textures used in scene to output directory.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setFaceColor(Vector3 value)

public void setFaceColor(Vector3 value)

Sets the face color to be used when rendering the 3D content. This is only relevant only when the getRenderMode has a value of Illustration.

Parameters:

ParameterTypeDescription
valueVector3New value

setFileName(String value)

public void setFileName(String value)

The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

setFileSystem(FileSystem value)

public void setFileSystem(FileSystem value)

Allow user to handle how to manage the external dependencies during load/save.

Parameters:

ParameterTypeDescription
valueFileSystemNew value

setFileSystemFactory(FileSystemFactory value)

public static void setFileSystemFactory(FileSystemFactory value)

Sets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.

Parameters:

ParameterTypeDescription
valueFileSystemFactoryNew value

setFlipCoordinateSystem(boolean value)

public void setFlipCoordinateSystem(boolean value)

Sets to flip the coordinate system of the scene during exporting.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setLightingScheme(PdfLightingScheme value)

public void setLightingScheme(PdfLightingScheme value)

LightingScheme specifies the lighting to apply to 3D artwork.

Parameters:

ParameterTypeDescription
valuePdfLightingSchemeNew value

setLookupPaths(ArrayList value)

public void setLookupPaths(ArrayList<String> value)

Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Parameters:

ParameterTypeDescription
valuejava.util.ArrayList<java.lang.String>New value

setRenderMode(PdfRenderMode value)

public void setRenderMode(PdfRenderMode value)

Render mode specifies the style in which the 3D artwork is rendered.

Parameters:

ParameterTypeDescription
valuePdfRenderModeNew value

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int