Class SectionStyle
The styling that applies to a section.
Implements
Inherited Members
Namespace: Google.Apis.Docs.v1.Data
Assembly: Google.Apis.Docs.v1.dll
Syntax
public class SectionStyle : IDirectResponseSchema
Properties
ColumnProperties
The section's columns properties. If empty, the section contains one column with the default properties in the Docs editor. A section can be updated to have no more than 3 columns. When updating this property, setting a concrete value is required. Unsetting this property will result in a 400 bad request error.
Declaration
[JsonProperty("columnProperties")]
public virtual IList<SectionColumnProperties> ColumnProperties { get; set; }
Property Value
Type | Description |
---|---|
IList<SectionColumnProperties> |
ColumnSeparatorStyle
The style of column separators. This style can be set even when there's one column in the section. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("columnSeparatorStyle")]
public virtual string ColumnSeparatorStyle { get; set; }
Property Value
Type | Description |
---|---|
string |
ContentDirection
The content direction of this section. If unset, the value defaults to LEFT_TO_RIGHT. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("contentDirection")]
public virtual string ContentDirection { get; set; }
Property Value
Type | Description |
---|---|
string |
DefaultFooterId
The ID of the default footer. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's default_footer_id. This property is read-only.
Declaration
[JsonProperty("defaultFooterId")]
public virtual string DefaultFooterId { get; set; }
Property Value
Type | Description |
---|---|
string |
DefaultHeaderId
The ID of the default header. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's default_header_id. This property is read-only.
Declaration
[JsonProperty("defaultHeaderId")]
public virtual string DefaultHeaderId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EvenPageFooterId
The ID of the footer used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the footers on even pages in the section. If it is false, the footers on even pages use the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's even_page_footer_id. This property is read-only.
Declaration
[JsonProperty("evenPageFooterId")]
public virtual string EvenPageFooterId { get; set; }
Property Value
Type | Description |
---|---|
string |
EvenPageHeaderId
The ID of the header used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the headers on even pages in the section. If it is false, the headers on even pages use the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's even_page_header_id. This property is read-only.
Declaration
[JsonProperty("evenPageHeaderId")]
public virtual string EvenPageHeaderId { get; set; }
Property Value
Type | Description |
---|---|
string |
FirstPageFooterId
The ID of the footer used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the footer on the first page of the section. If it's false, the footer on the first page of the section uses the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's first_page_footer_id. This property is read-only.
Declaration
[JsonProperty("firstPageFooterId")]
public virtual string FirstPageFooterId { get; set; }
Property Value
Type | Description |
---|---|
string |
FirstPageHeaderId
The ID of the header used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the header on the first page of the section. If it's false, the header on the first page of the section uses the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's first_page_header_id. This property is read-only.
Declaration
[JsonProperty("firstPageHeaderId")]
public virtual string FirstPageHeaderId { get; set; }
Property Value
Type | Description |
---|---|
string |
FlipPageOrientation
Optional. Indicates whether to flip the dimensions of DocumentStyle's page_size for this section, which allows changing the page orientation between portrait and landscape. If unset, the value inherits from DocumentStyle's flip_page_orientation. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("flipPageOrientation")]
public virtual bool? FlipPageOrientation { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MarginBottom
The bottom page margin of the section. If unset, the value defaults to margin_bottom from DocumentStyle. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("marginBottom")]
public virtual Dimension MarginBottom { get; set; }
Property Value
Type | Description |
---|---|
Dimension |
MarginFooter
The footer margin of the section. If unset, the value defaults to margin_footer from DocumentStyle. If updated, use_custom_header_footer_margins is set to true on DocumentStyle. The value of use_custom_header_footer_margins on DocumentStyle indicates if a footer margin is being respected for this section When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("marginFooter")]
public virtual Dimension MarginFooter { get; set; }
Property Value
Type | Description |
---|---|
Dimension |
MarginHeader
The header margin of the section. If unset, the value defaults to margin_header from DocumentStyle. If updated, use_custom_header_footer_margins is set to true on DocumentStyle. The value of use_custom_header_footer_margins on DocumentStyle indicates if a header margin is being respected for this section. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("marginHeader")]
public virtual Dimension MarginHeader { get; set; }
Property Value
Type | Description |
---|---|
Dimension |
MarginLeft
The left page margin of the section. If unset, the value defaults to margin_left from DocumentStyle. Updating the left margin causes columns in this section to resize. Since the margin affects column width, it's applied before column properties. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("marginLeft")]
public virtual Dimension MarginLeft { get; set; }
Property Value
Type | Description |
---|---|
Dimension |
MarginRight
The right page margin of the section. If unset, the value defaults to margin_right from DocumentStyle. Updating the right margin causes columns in this section to resize. Since the margin affects column width, it's applied before column properties. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("marginRight")]
public virtual Dimension MarginRight { get; set; }
Property Value
Type | Description |
---|---|
Dimension |
MarginTop
The top page margin of the section. If unset, the value defaults to margin_top from DocumentStyle. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("marginTop")]
public virtual Dimension MarginTop { get; set; }
Property Value
Type | Description |
---|---|
Dimension |
PageNumberStart
The page number from which to start counting the number of pages for this section. If unset, page numbering continues from the previous section. If the value is unset in the first SectionBreak, refer to DocumentStyle's page_number_start. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("pageNumberStart")]
public virtual int? PageNumberStart { get; set; }
Property Value
Type | Description |
---|---|
int? |
SectionType
Output only. The type of section.
Declaration
[JsonProperty("sectionType")]
public virtual string SectionType { get; set; }
Property Value
Type | Description |
---|---|
string |
UseFirstPageHeaderFooter
Indicates whether to use the first page header / footer IDs for the first page of the section. If unset, it inherits from DocumentStyle's use_first_page_header_footer for the first section. If the value is unset for subsequent sectors, it should be interpreted as false. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.
Declaration
[JsonProperty("useFirstPageHeaderFooter")]
public virtual bool? UseFirstPageHeaderFooter { get; set; }
Property Value
Type | Description |
---|---|
bool? |