EmfDc
|
Scope
|
Pego, Pesgo, Pe3do, Pepso, Pepco
|
|
Type
|
Int32
|
|
Default
|
PEEDC_DISPLAY_DPI_ADJ
|
|
JS / .NET
|
PeUserInterface.Dialog.EmfType
|
|
OCX / VCL
|
EmfDc
|
|
DLL
|
PEP_nEMFDC
|
Purpose
Controls the Device Context used in recording the enhanced metafile when exporting from the built-in export dialog.
|
.NET Gigasoft.Enums.
|
ActiveX and
|
|
|
EmfType
|
DLL Constants
|
Description
|
|
DisplayDpiAdjusted
|
PEEDC_DISPLAY_DPI_ADJ (0)
|
Uses the current video display Device Context. Normally DPI will be around 96 DPI, and impossible to change via CreateDC. This setting hacks the metafile header to simulate varying DPI settings.
|
|
Display
|
PEEDC_DISPLAY (1)
|
Uses the current video display Device Context. Metafile header is not modified, and DPI of the metafile will match the DPI of the video display. Best if export will only be viewed on a monitor and never printed.
|
|
Printer
|
PEEDC_PRINTER (2)
|
Uses the current default printer driver. This setting may be the best solution if ExportImageDpi will be set to 300 DPI and end -user is prevented from changing via HideExportImageDpi = True.
|
PlusOnly |
PEEDC_PLUS_ONLY (3) |
Renders as GdiPlus only. File size is very small. GdiPlus must be present and this format has limited support. MS Office/Adobe may not fully support. Test thoroughly if using this setting. Hopefully more support will arrive as file-size and image-quality is best within this format. |
Comments
Legacy enhanced metafile support (Gdi) is well supported. But the older legacy WMF format is still the most supported and efficient of all metafile formats. The newer EnhancedPlus metafile (supporting GdiPlus) is capable of reproducing the highest quality images, though support within Office and Adobe products may be limited.
PeUserInterface.Dialog.EmfDC members of Pego.PeUserInterface.Dialog, Pesgo.PeUserInterface.Dialog, Pe3do.PeUserInterface.Dialog, Pepso.PeUserInterface.Dialog, Pepco.PeUserInterface.Dialog
See Also: EmfBitmapGradients, EmfType, AllowEmfExport
|