Debenu Quick PDF logo

ImportEMFFromStream

Vector graphics, Image handling

Version history

This function was introduced in Quick PDF Library version 7.21.

Description

Adds a WMF or EMF image from a TStream to the selected document.

Once an image has been added to the document it can be drawn on any page multiple times without further increasing the size of the PDF file.

Availability

Windows/Delphi

Parameters

InStream TStream The TStream object containing the EMF/WMF data
FontOptions int32 If GeneralOptions is 1 this parameter is ignored, otherwise the following values take effect:
0 = Use the first font added to the PDF
1 = Automatically add fonts as non-embedded TrueType fonts
GeneralOptions int32 0 = Import as a vector image
1 = Import as a bitmap image

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport