Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfCellDataBarFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfCellDataBar, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PdfCellDataBarFluent

Methods

public static PdfCellDataBar Color(PdfCellDataBar pdfCellDataBar, OfficeColor value) #

Sets PdfCellDataBar.Color: Fill color used for the data bar.

Parameters

pdfCellDataBar OfficeIMO.Pdf.PdfCellDataBar required
The instance.
value OfficeIMO.OfficeColor required
The value.

Returns

PdfCellDataBar The same instance.

Examples

// C# initializer or property                                  // C# fluent
new global::OfficeIMO.Pdf.PdfCellDataBar { Color = value };    pdfCellDataBar.Color(value);
public static PdfCellDataBar Ratio(PdfCellDataBar pdfCellDataBar, double value) #

Sets PdfCellDataBar.Ratio: Filled width as a 0..1 fraction of the cell content width.

Parameters

pdfCellDataBar OfficeIMO.Pdf.PdfCellDataBar required
The instance.
value double required
The value.

Returns

PdfCellDataBar The same instance.

Examples

// C# initializer or property                                  // C# fluent
new global::OfficeIMO.Pdf.PdfCellDataBar { Ratio = value };    pdfCellDataBar.Ratio(value);
public static PdfCellDataBar StartRatio(PdfCellDataBar pdfCellDataBar, double value) #

Sets PdfCellDataBar.StartRatio: Horizontal start position as a 0..1 fraction of the cell content width.

Parameters

pdfCellDataBar OfficeIMO.Pdf.PdfCellDataBar required
The instance.
value double required
The value.

Returns

PdfCellDataBar The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfCellDataBar { StartRatio = value };    pdfCellDataBar.StartRatio(value);