Class WmfImageHelper
Helper class for the WmfImage implementation.
public class WmfImageHelper
- Inheritance
-
WmfImageHelper
- Inherited Members
Remarks
Helper class for the WmfImage implementation. Assists in the creation of a PdfFormXObject.
Constructors
WmfImageHelper(ImageData)
Creates a helper instance.
public WmfImageHelper(ImageData wmf)
Parameters
wmf
ImageDatathe WmfImageData object
Fields
wmfFontCorrection
Scales the WMF font size.
public static float wmfFontCorrection
Field Value
Remarks
Scales the WMF font size. The default value is 0.86.
Methods
CreateFormXObject(PdfDocument)
Create a PdfXObject based on the WMF image.
public virtual PdfXObject CreateFormXObject(PdfDocument document)
Parameters
document
PdfDocumentPdfDocument to add the PdfXObject to
Returns
- PdfXObject
PdfXObject based on the WMF image
Remarks
Create a PdfXObject based on the WMF image. The PdfXObject will have the dimensions of the WMF image.