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 Getting Started with Layout API article shows how to generate PDFs using methods of this class.

Check out the other articles and code samples on the C# PDF generation library page.

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.