com.spire.pdf.conversion.compression
Class TextCompressionOptions

java.lang.Object
  extended by com.spire.pdf.conversion.compression.TextCompressionOptions

public class TextCompressionOptions
extends java.lang.Object

The class represents the text compression options.


Constructor Summary
TextCompressionOptions()
          Initializes a new instance of the class.
 
Method Summary
 boolean getCompressFonts()
          Indicates whether compress fonts.
 boolean getUnembedFonts()
          Indicates whether to unembed fonts.
 void setCompressFonts(boolean value)
          Indicates whether compress fonts.
 void setUnembedFonts(boolean value)
          Indicates whether to unembed fonts.
 

Constructor Detail

TextCompressionOptions

public TextCompressionOptions()
Initializes a new instance of the class.

Method Detail

getCompressFonts

public boolean getCompressFonts()
Indicates whether compress fonts. Defalut value is true;

Returns:
The value indicates whether compress fonts.

setCompressFonts

public void setCompressFonts(boolean value)
Indicates whether compress fonts.

Parameters:
value - The value indicates whether compress fonts.

getUnembedFonts

public boolean getUnembedFonts()
Indicates whether to unembed fonts. Default value is false.

Returns:
The value indicates whether unembed fonts.

setUnembedFonts

public void setUnembedFonts(boolean value)
Indicates whether to unembed fonts. Note: The resulting document may have errors when the font is not normally encoded.

Parameters:
value - The value indicates whether unembed fonts.