PdfDocumentGdiExtensions Class

Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfDocumentGdiExtensions Class
Provides System.Drawing / GDI+ extension methods for the PdfDocument class.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.PdfDocumentGdiExtensions

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public static class PdfDocumentGdiExtensions
VB
<ExtensionAttribute>
Public NotInheritable Class PdfDocumentGdiExtensions

The PdfDocumentGdiExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAddFont(PdfDocument, Font)
Adds the new font with the properties of the specified Font to the end of the collection of document fonts.
Public methodStatic memberAddFont(PdfDocument, String, FontStyle)
Adds the new font with specified properties to the end of the collection of document fonts.
Public methodStatic memberAddImage(PdfDocument, Image)
Adds new image(s) with the data and properties of specified Image to the end of the collection of document images.
Public methodStatic memberAddImage(PdfDocument, Image, PdfColor)
Creates image(s) with the data and properties of specified Image, applies specified mask color to them and adds resulting image(s) to the end of the collection of document images.
Public methodStatic memberAddImage(PdfDocument, Image, Image)
Creates a new image with the data and properties of specified Image, applies mask constructed from specified Image to it and adds resulting image to the end of the collection of document images.
Public methodStatic memberOpenImage
Opens the image and constructs a collection of its frames (pages).

See Also