Indicate whether images are to be embedded in the document.
public bool EmbedImages { get; set; }
@property (nonatomic, assign) BOOL embedImages;
public:
property bool EmbedImages
{
bool get()
void set(bool value)
}
EmbedImages # get and set (HtmlDocumentOptions)
true to embed images in the final HTML document. Otherwise, false. Default value is false.
The document writer will create an HTML img
element for each image encountered while saving an HTML file. When the value of EmbedImages is false, the document writer will save the image data to disk and sets the img.src
value to the relative path of the file.
When the value of EmbedImages is true, the document writer will convert the image data to a data URI for example data:image/png;base64,iVBOR...
and set the value directly into img.src
.
In both cases, the image format can be set using ImageType.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document