Packages

 

com.aspose.cad

Class LoadOptions



  • public class LoadOptions
    extends Object

    Represents the loading options.

    • Constructor Detail

      • LoadOptions

        public LoadOptions()
    • Method Detail

      • getCustomFontFolderOptions

        public final int getCustomFontFolderOptions()

        Options to control behaviour of custom font folder.

      • setCustomFontFolderOptions

        public final void setCustomFontFolderOptions(int value)

        Options to control behaviour of custom font folder.

      • getCustomFontFolders

        public final String[] getCustomFontFolders()

        Sets the custom font folders. Pass null to reset to default folders.

      • setCustomFontFolders

        public final void setCustomFontFolders(String[] value)

        Sets the custom font folders. Pass null to reset to default folders.

      • getSpecifiedEncoding

        public int getSpecifiedEncoding()

        Gets or sets the specified encoding.

        Returns:
        The specified encoding.
      • setSpecifiedEncoding

        public void setSpecifiedEncoding(int value)

        Gets or sets the specified encoding.

        Parameters:
        value - The specified encoding.
      • getSpecifiedMifEncoding

        public final int getSpecifiedMifEncoding()

        Gets or sets encoding for MIF characters

        Returns:
        Specified MIF character encoding
      • setSpecifiedMifEncoding

        public final void setSpecifiedMifEncoding(int value)

        Gets or sets encoding for MIF characters

        Parameters:
        value - Specified MIF character encoding
      • getDataBackgroundColor

        public com.aspose.cad.Color getDataBackgroundColor()

        Gets or sets the Image background Color.

        Returns:
        The background color.


        Typically the background color is set whenever pixel value cannot be recovered due to data corruption.
      • setDataBackgroundColor

        public void setDataBackgroundColor(com.aspose.cad.Color value)

        Gets or sets the Image background Color.

        Parameters:
        value - The background color.


        Typically the background color is set whenever pixel value cannot be recovered due to data corruption.
      • getUnloadOnDispose

        public final boolean getUnloadOnDispose()

        Whether to unload all data and free memory when Dispose is called

      • setUnloadOnDispose

        public final void setUnloadOnDispose(boolean value)

        Whether to unload all data and free memory when Dispose is called

      • getRecoverMalformedCifMif

        public final boolean getRecoverMalformedCifMif()

        Whether to recover non-escaped CIF (U+XXXX) and MIF (M+nXXXX) character notations

      • setRecoverMalformedCifMif

        public final void setRecoverMalformedCifMif(boolean value)

        Whether to recover non-escaped CIF (U+XXXX) and MIF (M+nXXXX) character notations

      • getIgnoreErrors

        public final boolean getIgnoreErrors()

        Whether to ignore load errors.

      • setIgnoreErrors

        public final void setIgnoreErrors(boolean value)

        Whether to ignore load errors.

      • getErrors

        public final List<RenderResult> getErrors()

        Gets the list of loading errors.

      • getInterruptionToken

        public final InterruptionToken getInterruptionToken()

        Token that can be used to interrupt export operation

      • setInterruptionToken

        public final void setInterruptionToken(InterruptionToken value)

        Token that can be used to interrupt export operation