public final class PsLoadOptions extends LoadOptions
Represents options for loading/importing of .mht-file into pdf document.
LoadOptions.MarginsAreaUsageModes, LoadOptions.PageSizeAdjustmentModes, LoadOptions.ResourceLoadingResult, LoadOptions.ResourceLoadingStrategy
Constructor and Description |
---|
PsLoadOptions()
Creates load options for converting PostScript into pdf document with empty base path.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getFontsFolders()
Gets fonts folders paths.
|
boolean |
isConvertFontsToTTF()
Specifies whether to save non-TrueType fonts to TTF.
|
void |
setConvertFontsToTTF(boolean value)
Specifies whether to save non-TrueType fonts to TTF.
|
void |
setFontsFolders(String[] value)
Sets fonts folders paths.
|
getLoadFormat, getWarningHandler, isDisableFontLicenseVerifications, setDisableFontLicenseVerifications, setWarningHandler
public PsLoadOptions()
Creates load options for converting PostScript into pdf document with empty base path.
public String[] getFontsFolders()
Gets fonts folders paths. The folders with additional fonts for conversion.
public void setFontsFolders(String[] value)
Sets fonts folders paths. The folders with additional fonts for conversion.
value
- array of String valuespublic final boolean isConvertFontsToTTF()
Specifies whether to save non-TrueType fonts to TTF. It significantly decreases the volume of the resulting document in PS to PDF conversion and increases the speed of conversion of PS files with a large quantity of text in non-TrueType fonts to any output format. However, there is small vertical shift of text when converting PostSctipt file to image.
public final void setConvertFontsToTTF(boolean value)
Specifies whether to save non-TrueType fonts to TTF. It significantly decreases the volume of the resulting document in PS to PDF conversion and increases the speed of conversion of PS files with a large quantity of text in non-TrueType fonts to any output format. However, there is small vertical shift of text when converting PostSctipt file to image.
value
- boolean valueCopyright © 2025 Aspose. All Rights Reserved.