Class WeightedFontFamily
Represents a font family and weight used to style a TextRun.
Implements
Inherited Members
Namespace: Google.Apis.Slides.v1.Data
Assembly: Google.Apis.Slides.v1.dll
Syntax
public class WeightedFontFamily : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FontFamily
The font family of the text. The font family can be any font from the Font menu in Slides or from [Google
Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in Arial
.
Declaration
[JsonProperty("fontFamily")]
public virtual string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
string |
Weight
The rendered weight of the text. This field can have any value that is a multiple of 100
between 100
and
900
, inclusive. This range corresponds to the numerical values described in the CSS 2.1 Specification,
section 15.6, with non-numerical values disallowed.
Weights greater than or equal to 700
are considered bold, and weights less than 700
are not bold. The
default value is 400
("normal").
Declaration
[JsonProperty("weight")]
public virtual int? Weight { get; set; }
Property Value
Type | Description |
---|---|
int? |