Provides default values for document layout, typography, tables, themes, watermarks, and code blocks.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public static class DocumentDefaultSettings
Inheritance: objectDocumentDefaultSettings
Fields
Default number of table columns spanned by a newly created cell.
public static readonly int CELL_COLUMN_SPAN
Default number of table rows spanned by a newly created cell.
public static readonly int CELL_ROW_SPAN
Background color applied to the alternate code-block line style.
public static readonly Color CODE_BLOCK_ALTERNATING_BACKGROUND
Font family assigned to code-block text.
public const string CODE_BLOCK_FONT_FAMILY = "Courier New"
Font size assigned to code-block text, in document layout units.
public const double CODE_BLOCK_FONT_SIZE = 13.333333333333334
Default background color for comment callouts.
public static readonly Color COMMENT_DEFAULT_BACKGROUND
Default border color for comment callouts.
public static readonly Color COMMENT_DEFAULT_BORDER
Default highlight color used for comments.
public static readonly Color COMMENT_DEFAULT_HIGHLIGHT
Default insets for the comment template content; the left and top values are 9, while the right and bottom values are 0.
public static readonly Thickness COMMENT_TEMPLATE_DEFAULT_CONTENT_MARGIN
Default padding on each side of a table cell.
public static readonly Padding DEFAULT_CELL_PADDING
Default spacing between table cells.
public const double DEFAULT_CELL_SPACING = 0
Font family assigned to new text spans and used as the base style's font family.
public const string DEFAULT_FONT_FAMILY = "Verdana"
Default font size assigned to text spans and the document's base style, in document layout units.
public const double DEFAULT_FONT_SIZE = 16
Default line-spacing value applied when initializing a document's paragraph style.
public const double DEFAULT_LINE_SPACING = 1.15
Default page margins assigned to a section when no section-specific margins are set.
public static readonly Padding DEFAULT_PAGE_MARGIN
Page dimensions initialized from the built-in Letter paper type.
public static readonly Size DEFAULT_PAGE_SIZE
Fallback interval used to place implicit tab stops when no document-specific tab width is available.
public const double DEFAULT_TAB_WIDTH = 48
Default border collection assigned to a table.
public static readonly TableBorders DEFAULT_TABLE_BORDERS
Default border collection assigned to a table cell.
public static readonly TableCellBorders DEFAULT_TABLE_CELL_BORDERS
Padding used by flow-mode layout instead of the regular page margins.
public static readonly Padding FLOW_MODE_PAGE_MARGIN
Font-size increment used by increase/decrease commands, equal to two points converted to document layout units.
public static readonly double INCREMENT_FONT_SIZE_STEP
Indentation increment used by paragraph and list indentation commands, in document layout units.
public const float INDENT_STEP = 24
Cell padding used by the built-in normal table and code-block styles.
public static readonly Padding NORMAL_CELL_PADDING
Spacing after paragraphs assigned to the document's built-in default style.
public const double PARAGRAPH_COMMON_SPACING_AFTER = 12
Default paragraph spacing after a paragraph when no document style overrides it.
public const double PARAGRAPH_DEFAULT_SPACING_AFTER = 0
Default paragraph spacing before a paragraph.
public const double PARAGRAPH_DEFAULT_SPACING_BEFORE = 0
Color returned for a permission region while document protection is enforced.
public static readonly Color PERMISSION_RANGE_ENFORCED_COLOR
Hashing iteration count assigned when ProtectDocument(DocumentProtectionMode, string) enables password protection.
public static readonly int PROTECTION_HASH_SPIN_COUNT
Default spacing after a column when creating built-in multi-column layouts.
public const float SECTION_COLUMN_DEFAULT_SPACING = 48
Minimum spacing allowed after a column in the section-columns dialog.
public const float SECTION_COLUMN_MIN_SPACING = 0
Minimum width used when laying out a section text column.
public const float SECTION_COLUMN_MIN_WIDTH = 48
Default collection used by a section's text-column property.
public static readonly SectionColumnCollection SECTION_DEFAULT_COLUMNCOLLECTION
Default inset below footer content within a section.
public const int SECTION_DEFAULT_FOOTER_BOTTOM_MARGIN = 48
Default inset above header content within a section.
public const int SECTION_DEFAULT_HEADER_TOP_MARGIN = 48
Orientation used for sections when no section-specific value is set.
public const PageOrientation SECTION_DEFAULT_PAGE_ORIENTATION = Portrait
Hexadecimal RGB value for the built-in theme's Accent1 palette entry.
public const string THEME_COLOR_ACCENT1 = "4F81BD"
Hexadecimal RGB value for the built-in theme's Accent2 palette entry.
public const string THEME_COLOR_ACCENT2 = "C0504D"
Hexadecimal RGB value for the built-in theme's Accent3 palette entry.
public const string THEME_COLOR_ACCENT3 = "9BBB59"
Hexadecimal RGB value for the built-in theme's Accent4 palette entry.
public const string THEME_COLOR_ACCENT4 = "8064A2"
Hexadecimal RGB value for the built-in theme's Accent5 palette entry.
public const string THEME_COLOR_ACCENT5 = "4BACC6"
Hexadecimal RGB value for the built-in theme's Accent6 palette entry.
public const string THEME_COLOR_ACCENT6 = "F79646"
Hexadecimal RGB value for the built-in theme's Dark1 palette entry.
public const string THEME_COLOR_DARK1 = "000000"
Hexadecimal RGB value for the built-in theme's Dark2 palette entry.
public const string THEME_COLOR_DARK2 = "1F497D"
Hexadecimal RGB value for followed hyperlinks in the built-in theme.
public const string THEME_COLOR_FOLLOWEDHYPERLINK = "800080"
Hexadecimal RGB value for hyperlinks in the built-in theme.
public const string THEME_COLOR_HYPERLINK = "0000FF"
Hexadecimal RGB value for the built-in theme's Light1 palette entry.
public const string THEME_COLOR_LIGHT1 = "FFFFFF"
Hexadecimal RGB value for the built-in theme's Light2 palette entry.
public const string THEME_COLOR_LIGHT2 = "EEECE1"
Theme color identifier assigned to the built-in Accent1 role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT1 = accent1
Theme color identifier assigned to the built-in Accent2 role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT2 = accent2
Theme color identifier assigned to the built-in Accent3 role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT3 = accent3
Theme color identifier assigned to the built-in Accent4 role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT4 = accent4
Theme color identifier assigned to the built-in Accent5 role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT5 = accent5
Theme color identifier assigned to the built-in Accent6 role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_ACCENT6 = accent6
Theme color identifier assigned to the built-in Text1 role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_DARK1 = dark1
Theme color identifier assigned to the built-in Text2 role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_DARK2 = dark2
Theme color identifier assigned to the built-in followed-hyperlink role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_FOLLOWEDHYPERLINK = followedHyperlink
Theme color identifier assigned to the built-in hyperlink role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_HYPERLINK = hyperlink
Theme color identifier assigned to the built-in Background1 role.
public const ThemeColorsEnum THEME_COLOR_MAPPING_LIGHT1 = light1
Semantic theme color identifier assigned by default to the Background2 role; the current value is text2.
public const ThemeColorsEnum THEME_COLOR_MAPPING_LIGHT2 = text2
Default name assigned to the built-in theme color scheme.
public const string THEME_COLORS_NAME = "Office"
Font family name used for the built-in theme's major font role.
public const string THEME_FONT_MAJOR = "Cambria"
Font family name used for the built-in theme's minor font role.
public const string THEME_FONT_MINOR = "Calibri"
Default name assigned to the built-in theme font scheme.
public const string THEME_FONTS_NAME = "Office"
Default name assigned to a newly created document theme.
public const string THEME_NAME = "Office Theme"
Sentinel priority used for styles until registration assigns a built-in or custom UI priority.
public const int UIPRIORITY = 10000
Opaque light-gray foreground assigned to newly created text-watermark settings.
public static readonly Color WATERMARK_DEFAULT_COLOR
Font family assigned to newly created text-watermark settings.
public static readonly string WATERMARK_DEFAULT_FONT_FAMILY
Default font size assigned to new text watermarks and used when the serialized font size is omitted.
public const double WATERMARK_DEFAULT_FONT_SIZE = 84
Zero-degree rotation assigned to newly created text-watermark settings.
public static readonly double WATERMARK_NO_ROTATION_ANGLE
Default opacity assigned to newly created text-watermark settings.
public static readonly double WATERMARK_OPACITY
Rotation angle, in degrees, used by the built-in diagonal text-watermark presets.
public static readonly double WATERMARK_ROTATION_ANGLE
Opacity assigned when the watermark dialog's semitransparent option is selected.
public static readonly double WATERMARK_SEMITRANSPARENT_OPACITY