Table of Contents

Class Document

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

Class for building a document.

public sealed class Document
Inheritance
Document
Inherited Members

Remarks

The .NET PDF generator article provides essential information on how to generate PDFs using methods of this class.

Methods

Image(FileInfo)

Adds an image from file.

Image(Stream)

Adds an image from stream.

Pages(Action<PageLayout>)

Adds layout for one or multiple pages.

TextStyleWithFont(SystemFont, FontEmbedMode?)

Creates a text style based on a font from the system font collection.

TextStyleWithFont(FileInfo, FontEmbedMode?)

Creates a text style based on a font from file.

TextStyleWithFont(Stream, FontEmbedMode?)

Creates a text style based on a font from stream.

Typography(Typography)

Sets a typography for this document.

Typography(Action<Typography>)

Sets a typography for this document.