Class PdfDevice

PdfDevice class

Implements the interface for outputting text and graphic content to PDF document.

public class PdfDevice : Device

Constructors

NameDescription
PdfDevice()Creates a new instance. The output file will be written to the output working directory taking the job name as a file name.
PdfDevice(Stream)Creates a new instance. The output file will be written to specified stream.

Properties

NameDescription
override PageCount { get; }Gets the number of pages.

Methods

NameDescription
AddBookmark(string, PointF)Adds the bookmark identified by the name.
EndFragment()Ends a fragment to rasterize.
StartFragment()Starts a fragment to rasterize.

See Also