VintaSoft Imaging .NET SDK 15.1: Документация для .NET разработчика
Vintasoft.Imaging.Office.Spreadsheet.Document.Editors Namespace / SheetCellEditor Class / SetStyle(SpreadsheetDocumentEditor,TextProperties,FontProperties,VintasoftColor,CellBorders,String) Method
Синтаксис Требования Смотрите также
В этом разделе
SetStyle(SpreadsheetDocumentEditor,TextProperties,FontProperties,VintasoftColor,CellBorders,String) Метод (SheetCellEditor)
В этом разделе
Задает индекс стиля, который имеет указанные свойства.
Синтаксис
'Declaration

Public Sub SetStyle( _
ByVal documentEditor
Редактор документа.
As SpreadsheetDocumentEditor, _
ByVal textProperties
Свойства текста.
As Vintasoft.Imaging.Office.Spreadsheet.Document.TextProperties, _
ByVal fontProperties
Свойства шрифта.
As Vintasoft.Imaging.Office.Spreadsheet.Document.FontProperties, _
ByVal backgroundColor
Цвет фона.
As Vintasoft.Primitives.VintasoftColor, _
ByVal borders
Границы.
As Vintasoft.Imaging.Office.Spreadsheet.Document.CellBorders, _
ByVal numberFormat
Числовой формат.
As System.String _
)

Parameters

documentEditor
Редактор документа.
textProperties
Свойства текста.
fontProperties
Свойства шрифта.
backgroundColor
Цвет фона.
borders
Границы.
numberFormat
Числовой формат.
Требования

Целевые платформы: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

Смотрите также