[]
        
(Showing Draft Content)

C1.WPF.Document.C1Document

C1Document Class

Represents a ComponentOne Document.

Inheritance
C1Document
Namespace: C1.WPF.Document
Assembly: C1.WPF.Document.4.6.2.dll
Syntax
public class C1Document

Constructors

Name Description
C1Document()

Initializes a new instance of the C1Document class.

Properties

Name Description
Body

Gets the document body.

CompatibilityOptions

Gets the CompatibilityOptions object which determines compatibility with the legacy C1PrintDocument component.

Dictionary

Gets the current document's dictionary. The dictionary can be used to hold reusable resources (e.g. images used in multiple places in the document).

DocumentInfo

Gets or sets the DocumentInfo object containing information about the current document (such as author, company, and so on).

MeasurementDevice

Gets or sets the type of device used to provide Graphics used to measure/calculate layouts of document objects, when used GDI/GDI+ functions. If this property is set to Printer, MeasurementPrinterName specifies the printer.

MeasurementPrinterName

Gets or sets the name of the printer used to provide Graphics used to measure/calculate layouts of document objects, when used GDI/GDI+ functions. This property is only used if MeasurementDevice is set to Printer.

MeasurementUnits

Gets or sets the units of measurement used to define coordinates and sizes of objects in the current document.

Outlines

Gets the OutlineNodeCollection representing the collection of OutlineNode objects in the current document.

Style

Gets the main (root) Style of the current document.

Methods

Name Description
Clear()

Clears the current document.

FindRenderObject(string)

Finds a render object by name.