FixedLayoutFormats

FixedLayoutFormats class

Encapsulates all fixed-layout (also known as “fixed-page”) formats, which includes PDF and XPS (this does not include raster images).

public class FixedLayoutFormats : DocumentFormatBase

Properties

Name Description
Extension { get; } Gets the file extension of the document format.
FormatFamily { get; } Gets the format family to which the document format belongs.
Id { get; } Gets the unique identifier for the format family.
Mime { get; } Gets the MIME type of the document format.
Name { get; } Gets the name of the format family.
static All { get; } Gets an enumerable collection of all FixedLayoutFormats.

Methods

Name Description
static FromExtension(string) Retrieves an instance of the specified type FixedLayoutFormats that has the specified file extension.
Equals(FormatFamilyBase) Determines whether this instance is equal to the specified FormatFamilyBase instance.
Equals(IDocumentFormat) Determines whether this instance is equal to the specified IDocumentFormat instance.
override Equals(object) Determines whether this instance is equal to the specified DocumentFormatBase instance.
override GetHashCode() Returns a hash code for the current object.
override ToString() Returns a string that represents the current object.
explicit operator Converts a string representing a file extension to a FixedLayoutFormats object.

Fields

Name Description
static readonly Pdf Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. Learn more about this file format here.

Remarks

Various document viewing or publishing applications allow users to open (Adobe Acrobat, XPS Viewer), and sometimes edit (Adobe InDesign) documents of specific formats. These applications typically produce so-called “fixed-page” format documents. Such a document format describes precisely where a document’s content is placed on every page. Internally, the PDF or XPS format contains a description of every page, as well as drawing instructions, specifying the layout of the content on the page. This is similar to image formats, describing where the content is shown either in raster or vector form.

See Also