Table of Contents

Class WmfImageHelper

Namespace
iText.Kernel.Pdf.Canvas.Wmf
Assembly
itext.kernel.dll

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 ImageData

the WmfImageData object

Fields

wmfFontCorrection

Scales the WMF font size.

public static float wmfFontCorrection

Field Value

float

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 PdfDocument

PdfDocument 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.