ImportEMFFromStreamOptionalEx
Vector graphics, Content Streams and Optional Content Groups
Description
Reference page for ImportEMFFromStreamOptionalEx. The function belongs to Vector graphics, Content Streams and Optional Content Groups and keeps all identifiers exactly as shown
Syntax
Delphi
Function TPDFlib.ImportEMFFromStreamOptionalEx(InStream: TStream; OptionalContentGroupID, FontOptions, GeneralOptions, Options: Integer): Integer;
Parameters
| InStream | EMF stream to import |
|---|---|
| OptionalContentGroupID | Optional-content group handle |
| FontOptions | Font handling mode used by the EMF importer |
| GeneralOptions | General EMF import mode |
| Options | Reserved extended import flags |
Return values
Returns the new ImageID, or 0 if the stream or optional-content group is invalid
Remarks
Use this entry when EMF data already lives in memory and should be tied to a viewer layer immediately
See also
ImportEMFFromFileOptionalEx, ImportEMFFromStreamEx, SetImageOptional