Converting from HENHMETAFILE and EMF to PDF

Q: When converting from EMF to PDF (using pdftron.PDF.Convert.FromEmf()), the EMF file is centered to document page. Is it possible to have each page of the document match the size of the imported EMF file? When creating a PDF document from a selection of EMF files, it is possible that the EMF files have different dimensions. We would like the PDF pages to match these dimensions (so different pages can have different sizes). Is this possible?

Is it possible to import an EMF file from a handle (HENHMETAFILE) instead of from a file on disk?

A: You could obtain the size of EMF content box using page.GetBoundingBox() and use the value to modify media and crop box: page.SetMediaBox(page.GetBoundingBox());

➢ Is it possible to import an EMF file from a handle (HENHMETAFILE) instead of from a file on disk?

Not at the moment, however if required we could easily expose the extra method.