Skip to content

d5136148 0294 108a c023 6be07368d54f

Fernando Garcia edited this page May 8, 2018 · 1 revision

FontModel.Bold Property

Additional header content

Gets or sets a value indicating whether bold style is applied for this font.

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public YesNo Bold { get; set; }

VB

Public Property Bold As YesNo
	Get
	Set

Property Value

Type: YesNo
Yes if bold style is applied for this font; otherwise, No. The default is No.

Remarks

ITEE Object Element Usage

<Font Bold="[Yes|No] | [{StaticBinding:...}]".../>

Compatibility table with native writers.  

Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
No has effect No has effect No has effect X
  A X value indicates that the writer supports this element.

Examples

In the following example shows how create a new font. XML

<Font Name="Tahoma" Size="8" Color="Navy" Bold="Yes" Italic="Yes" Underline="No"/>

C#

var font = new FontModel
{
    Name = "Tahoma",
    Color = "Navy",
    Size = 8.0,
    Bold = YesNo.Yes,
    Italic = YesNo.Yes,
    Underline = YesNo.No
};

VB

Dim font = New FontModel With
{
    .Name = "Tahoma",
    .Color = "Navy",
    .Size = 8.0,
    .Bold = YesNo.Yes,
    .Italic = YesNo.Yes,
    .Underline = YesNo.No
}

See Also

Reference

FontModel Class
iTin.Export.Model Namespace

Clone this wiki locally