Class Optimizer.TextSettings
A class that stores text optimization settings.
Inheritance
System.Object
Optimizer.TextSettings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: pdftron.PDF
Assembly: PDFNetAndroid.dll
Syntax
public class TextSettings
Constructors
TextSettings()
create an TextSettings object with default options
Declaration
public TextSettings()
Methods
EmbedFonts(Boolean)
Sets whether fonts should be embedded. This
will generally increase the size of the file, but will
make the file appear the same on different machines.
Font embedding is off by default.
Declaration
public void EmbedFonts(bool embed)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | embed | if true all fonts will be embedded. |
SubsetFonts(Boolean)
Sets whether embedded fonts will be subset. This will generally reduce the size of fonts, but will strip font hinting. Subsetting is off by default.
Declaration
public void SubsetFonts(bool subset)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | subset | if true all embedded fonts will be subsetted. |