PdfFontEmbeddingPolicy Constructor (PdfFontEmbeddingAction, Exception) |
Namespace:
Atalasoft.PdfDoc.Generating.ResourceHandling.Fonts
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public PdfFontEmbeddingPolicy(
PdfFontEmbeddingAction action,
Exception exception
)
Public Sub New (
action As PdfFontEmbeddingAction,
exception As Exception
)
Parameters
- action
- Type: Atalasoft.PdfDoc.Generating.ResourceHandling.FontsPdfFontEmbeddingAction
The action to take on a font embedding request. - exception
- Type: SystemException
An exception to throw if the action is set to PdfFontEmbeddingAction.ThrowException. If exception is null, a PdfException will be thrown.
Examples PdfFontEmbeddingPolicy policy = new PdfFontEmbeddingPolicy(PdfFontEmbeddingAction.ThrowException, new MyException("can't embed this font"));
See Also