WebConvertOptions

Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions

public class WebConvertOptions extends CommonConvertOptions<WebFileType>

Options for conversion to Web file type.

Constructors

Constructor Description
WebConvertOptions() Initializes new instance of class.

Methods

Method Description
isUsePdf()
setUsePdf(boolean usePdf)
isFixedLayout()
setFixedLayout(boolean fixedLayout)
isFixedLayoutShowBorders()
setFixedLayoutShowBorders(boolean fixedLayoutShowBorders)
getZoom()
setZoom(int zoom)
isEmbedFontResources() Embed all resources inside the main HTML when FixedLayout=true.
setEmbedFontResources(boolean embedFontResources) Embed all resources inside the main HTML when FixedLayout=true.

WebConvertOptions()

public WebConvertOptions()

Initializes new instance of class.

isUsePdf()

public boolean isUsePdf()

Returns: boolean

setUsePdf(boolean usePdf)

public void setUsePdf(boolean usePdf)

Parameters:

Parameter Type Description
usePdf boolean

isFixedLayout()

public boolean isFixedLayout()

Returns: boolean

setFixedLayout(boolean fixedLayout)

public void setFixedLayout(boolean fixedLayout)

Parameters:

Parameter Type Description
fixedLayout boolean

isFixedLayoutShowBorders()

public boolean isFixedLayoutShowBorders()

Returns: boolean

setFixedLayoutShowBorders(boolean fixedLayoutShowBorders)

public void setFixedLayoutShowBorders(boolean fixedLayoutShowBorders)

Parameters:

Parameter Type Description
fixedLayoutShowBorders boolean

getZoom()

public int getZoom()

Returns: int

setZoom(int zoom)

public void setZoom(int zoom)

Parameters:

Parameter Type Description
zoom int

isEmbedFontResources()

public boolean isEmbedFontResources()

Embed all resources inside the main HTML when FixedLayout=true. Default is false.

Returns: boolean

setEmbedFontResources(boolean embedFontResources)

public void setEmbedFontResources(boolean embedFontResources)

Embed all resources inside the main HTML when FixedLayout=true. Default is false.

Parameters:

Parameter Type Description
embedFontResources boolean