Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.44 KB

File metadata and controls

15 lines (10 loc) · 1.44 KB

AsposePdfCloud::PartsEmbeddingModes

This enum enumerates possible modes of embedding of files referenced in HTML It allows to control whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities

Enum

Name Type Value Description
EMBED_ALL_INTO_HTML String 'EmbedAllIntoHtml' Enforces embed all referenced files(Css,Images,Fonts) into generated HTML markup (i.e. into HTML itself) This approach generates one HTML file, but total size of output becames bigger(because Base64 encoding of binaries is in use) and not all browsers (especially legacy) successfully process binaries embedded into HTML. But it allows get HTML that contains whole result, without any additional files.
EMBED_CSS_ONLY String 'EmbedCssOnly' Enforces put apart all referenced files except CSS (Images and Fonts) I.e. CSS will be embedded into result HTML , and all other referenced files(Images and Fonts) will be processed as external parts It generates HTML that is sutable for wide set of browsers
NO_EMBEDDING String 'NoEmbedding' Enforces put apart referenced files(Css,Images,Fonts) This approach generates set of files, but total size of output becames smaller(because no Base64 encoding of binaries is in use) Also such approach generates HTML that is sutable for wide set of browsers