Show / Hide Table of Contents

Class Optimizer.TextSettings

A class that stores text optimization settings.

Inheritance
System.Object
Optimizer.TextSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: pdftron.PDF
Assembly: PDFNet.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.

Back to top Generated by DocFX