PdfRowStyle
OfficeIMO.Pdf
Describes reusable layout rhythm for row/column blocks.
Inheritance
- object
- PdfRowStyle
Usage
Explore 41 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 17
- Property PdfCreateOptions.DefaultRowStyle
- Extension method PdfRowStyle.ColumnSeparatorColor
- Extension method PdfRowStyle.ColumnSeparatorWidth
- Extension method PdfRowStyle.Gap
- Extension method PdfRowStyle.KeepTogether
- Extension method PdfRowStyle.KeepWithNext
- Extension method PdfRowStyle.SpacingAfter
- Extension method PdfRowStyle.SpacingBefore
- Method PdfRowStyle.Clone
- Method PdfRowStyleFluent.ColumnSeparatorColor
- Method PdfRowStyleFluent.ColumnSeparatorWidth
- Method PdfRowStyleFluent.Gap
- Method PdfRowStyleFluent.KeepTogether
- Method PdfRowStyleFluent.KeepWithNext
- Method PdfRowStyleFluent.SpacingAfter
- Method PdfRowStyleFluent.SpacingBefore
- Property PdfTheme.RowStyle
Accepted by parameters 24
- Extension method PdfCreateOptions.DefaultRowStyle
- Extension method PdfCreateOptions.DefaultRowStyle
- Method PdfCreateOptionsFluent.DefaultRowStyle
- Method PdfCreateOptionsFluent.DefaultRowStyle
- Method PdfPageBuilder.DefaultRowStyle
- Method PdfRowBuilder.Style
- Extension method PdfRowStyle.ColumnSeparatorColor
- Extension method PdfRowStyle.ColumnSeparatorWidth
- Extension method PdfRowStyle.Gap
- Extension method PdfRowStyle.KeepTogether
- Extension method PdfRowStyle.KeepWithNext
- Extension method PdfRowStyle.SpacingAfter
- Extension method PdfRowStyle.SpacingBefore
- Method PdfRowStyleFluent.ColumnSeparatorColor
- Method PdfRowStyleFluent.ColumnSeparatorWidth
- Method PdfRowStyleFluent.Gap
- Method PdfRowStyleFluent.KeepTogether
- Method PdfRowStyleFluent.KeepWithNext
- Method PdfRowStyleFluent.SpacingAfter
- Method PdfRowStyleFluent.SpacingBefore
- Extension method PdfTheme.RowStyle
- Extension method PdfTheme.RowStyle
- Method PdfThemeFluent.RowStyle
- Method PdfThemeFluent.RowStyle
Constructors
public PdfRowStyle() #Methods
Inherited Methods
Properties
public OfficeLength? Gap { get; set; } #Horizontal gutter between row columns, in points. When null the row uses its explicit gap or the built-in Word-like gutter.
public OfficeLength SpacingBefore { get; set; } #Vertical space before the row, in points.
public OfficeLength SpacingAfter { get; set; } #Vertical space after the row, in points.
public OfficeColor? ColumnSeparatorColor { get; set; } #Optional vertical separator color drawn between row columns.
public OfficeLength ColumnSeparatorWidth { get; set; } #Vertical separator line width, in points. A non-positive width disables separator drawing.
public bool KeepTogether { get; set; } #When true, the row moves to the next page instead of splitting across pages.
public bool KeepWithNext { get; set; } #When true, the row moves with the first visible part of the following block when they fit together.
Fields
public static readonly OfficeLength DefaultGap #Built-in gutter used for multi-column rows when neither the row nor a default row style specifies one.
Extension Methods
public static PdfRowStyle ColumnSeparatorColor(PdfRowStyle pdfRowStyle, OfficeColor? value) #Sets PdfRowStyle.ColumnSeparatorColor: Optional vertical separator color drawn between row columns.
Parameters
- pdfRowStyle OfficeIMO.Pdf.PdfRowStyle
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { ColumnSeparatorColor = value }; pdfRowStyle.ColumnSeparatorColor(value);public static PdfRowStyle ColumnSeparatorWidth(PdfRowStyle pdfRowStyle, OfficeLength value) #Sets PdfRowStyle.ColumnSeparatorWidth: Vertical separator line width, in points. A non-positive width disables separator drawing.
Parameters
- pdfRowStyle OfficeIMO.Pdf.PdfRowStyle
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { ColumnSeparatorWidth = value }; pdfRowStyle.ColumnSeparatorWidth(value);public static PdfRowStyle Gap(PdfRowStyle pdfRowStyle, OfficeLength? value) #Sets PdfRowStyle.Gap: Horizontal gutter between row columns, in points. When null the row uses its explicit gap or the built-in Word-like gutter.
Parameters
- pdfRowStyle OfficeIMO.Pdf.PdfRowStyle
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { Gap = value }; pdfRowStyle.Gap(value);public static PdfRowStyle KeepTogether(PdfRowStyle pdfRowStyle, bool value = true) #Sets PdfRowStyle.KeepTogether: When true, the row moves to the next page instead of splitting across pages.
Parameters
- pdfRowStyle OfficeIMO.Pdf.PdfRowStyle
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { KeepTogether = value }; pdfRowStyle.KeepTogether(value);public static PdfRowStyle KeepWithNext(PdfRowStyle pdfRowStyle, bool value = true) #Sets PdfRowStyle.KeepWithNext: When true, the row moves with the first visible part of the following block when they fit together.
Parameters
- pdfRowStyle OfficeIMO.Pdf.PdfRowStyle
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { KeepWithNext = value }; pdfRowStyle.KeepWithNext(value);public static PdfRowStyle SpacingAfter(PdfRowStyle pdfRowStyle, OfficeLength value) #Sets PdfRowStyle.SpacingAfter: Vertical space after the row, in points.
Parameters
- pdfRowStyle OfficeIMO.Pdf.PdfRowStyle
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { SpacingAfter = value }; pdfRowStyle.SpacingAfter(value);public static PdfRowStyle SpacingBefore(PdfRowStyle pdfRowStyle, OfficeLength value) #Sets PdfRowStyle.SpacingBefore: Vertical space before the row, in points.
Parameters
- pdfRowStyle OfficeIMO.Pdf.PdfRowStyle
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { SpacingBefore = value }; pdfRowStyle.SpacingBefore(value);