Class PrintStyle
Стиль печатного представления.
Namespace:InfinniPlatform.PrintView
Assembly:InfinniPlatform.PrintView.Abstractions.dll
Syntax
public class PrintStyle : PrintNamedItem
Properties
| Improve this Doc View SourceBackground
Цвет фона содержимого элемента.
Declaration
public string Background { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Border
Границы элемента.
Declaration
public PrintBorder Border { get; set; }
Property Value
Type | Description |
---|---|
PrintBorder |
Font
Настройки шрифта элемента.
Declaration
public PrintFont Font { get; set; }
Property Value
Type | Description |
---|---|
PrintFont |
Foreground
Цвет содержимого элемента.
Declaration
public string Foreground { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Margin
Отступ от края элемента до родительского элемента.
Declaration
public PrintThickness Margin { get; set; }
Property Value
Type | Description |
---|---|
PrintThickness |
Padding
Отступ от края элемента до содержимого элемента.
Declaration
public PrintThickness Padding { get; set; }
Property Value
Type | Description |
---|---|
PrintThickness |
TextAlignment
Горизонтальное выравнивание текста элемента.
Declaration
public PrintTextAlignment? TextAlignment { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<PrintTextAlignment> |
TextCase
Регистр символов текста элемента.
Declaration
public PrintTextCase? TextCase { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<PrintTextCase> |
TextDecoration
Оформление текста элемента.
Declaration
public PrintTextDecoration? TextDecoration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<PrintTextDecoration> |
Methods
| Improve this Doc View SourceGetDisplayTypeName()
Возвращает отображаемое имя типа элемента.
Declaration
public override string GetDisplayTypeName()
Returns
Type | Description |
---|---|
System.String |