[]
        
(Showing Draft Content)

C1.Schedule.Printing.PrintStyle

PrintStyle Class

The PrintStyle class represents the single printing style for a schedule control.

Inheritance
PrintStyle
Namespace: C1.Schedule.Printing
Assembly: C1.Win.Schedule.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PrintStyle

Constructors

Name Description
PrintStyle()

Initializes the new PrintStyle object.

Properties

Name Description
AppointmentsFont

Gets or sets a Font object used for printing appointments.

Context

Gets or sets a PrintContextType value, specifying whether the current PrintStyle objects displays the single appointment or appointments of the specified date range.

CurrentPageSettings

Gets or sets the PageSettings for printing.

DateHeadingsFont

Gets or sets a Font object used for printing date headings.

Description

Gets or sets the string value, determining style description.

DisplayName

Gets or sets the string value, determining style display name.

DocumentFormat

Gets an int value determining the format of source document. Returns 0 for .c1d and 1 for .c1dx documents.

FooterCenter

Gets or sets a string value used in the center part of the page footer.

FooterColor

Gets or sets a Color value used for printing page footers.

FooterFont

Gets or sets a Font object used for printing page footers.

FooterLeft

Gets or sets a string value used in the left part of the page footer.

FooterRight

Gets or sets a string value used in the right part of the page footer.

HeaderCenter

Gets or sets a string value used in the center part of the page header.

HeaderColor

Gets or sets a Color value used for printing page headers.

HeaderFont

Gets or sets a Font object used for printing page headers.

HeaderLeft

Gets or sets a string value used in the left part of the page header.

HeaderRight

Gets or sets a string value used in the right part of the page header.

HidePrivateAppointments

Gets or sets a bool value determining whether control should hide details of private appointments in resulting document.

IsLoaded

Returns true if the current style is loaded into C1PrintDocument control.

PreviewImage

Gets or sets the Image object, representing a small preview of the style which can be used for displaying style information in UI..

ReverseOnEvenPages

Gets or sets a bool value determining whether page headers and footers should be reversed on even pages.

StyleName

Gets or sets the string value, determining the unique style name for using in PrintStyleCollection.

StyleSource

Gets or sets the string value determining the source of C1PrintDocument template. It might be the name of .c1d or .c1dx file or the name of resource.

Tags

Gets a Dictionary<TKey, TValue> dictionary, containing information about C1PrintDocument tags.

Methods

Name Description
IsStandardTag(TagInfo)

Returns a bool value, determining whether the specified tag in one of the predefined tags used by the PrintStyle and PrintOptionsForm classes.

Load(PrintDocumentWrapper)

Loads style definition to the specified C1PrintDocument control.