Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelImageOptionsFluent

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Modifiers
static

The fluent methods of ExcelImageOptions, 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
  • ExcelImageOptionsFluent

Methods

public static ExcelImageOptions ContentType(ExcelImageOptions excelImageOptions, string value) #

Sets ExcelImageOptions.ContentType: Gets or sets the MIME type for native byte payloads. Loaded sources use their validated content type.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value string required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { ContentType = value };    excelImageOptions.ContentType(value);
public static ExcelImageOptions Deduplicate(ExcelImageOptions excelImageOptions, bool value = true) #

Sets ExcelImageOptions.Deduplicate: Gets or sets whether identical bytes of the same native type reuse an existing image part in this worksheet drawing. Defaults to separate parts.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Deduplicate = value };    excelImageOptions.Deduplicate(value);
public static ExcelImageOptions Description(ExcelImageOptions excelImageOptions, string? value) #

Sets ExcelImageOptions.Description: Gets or sets the alternative text description.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value string? required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Description = value };    excelImageOptions.Description(value);
public static ExcelImageOptions EndOffsetX(ExcelImageOptions excelImageOptions, OfficeLength value) #

Sets ExcelImageOptions.EndOffsetX: Gets or sets the exact horizontal offset of a two-cell ending marker.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { EndOffsetX = value };    excelImageOptions.EndOffsetX(value);
public static ExcelImageOptions EndOffsetY(ExcelImageOptions excelImageOptions, OfficeLength value) #

Sets ExcelImageOptions.EndOffsetY: Gets or sets the exact vertical offset of a two-cell ending marker.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { EndOffsetY = value };    excelImageOptions.EndOffsetY(value);
public static ExcelImageOptions Height(ExcelImageOptions excelImageOptions, OfficeLength? value) #

Sets ExcelImageOptions.Height: Gets or sets the exact height. Omitted byte-image heights are 32 pixels; loaded sources use detected dimensions.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Height = value };    excelImageOptions.Height(value);
public static ExcelImageOptions LeaveOpen(ExcelImageOptions excelImageOptions, bool value = true) #

Sets ExcelImageOptions.LeaveOpen: Gets or sets whether a caller-owned stream stays open on success, cancellation and failure. Its seekable position is preserved.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { LeaveOpen = value };    excelImageOptions.LeaveOpen(value);
public static ExcelImageOptions LockAspectRatio(ExcelImageOptions excelImageOptions, bool value = true) #

Sets ExcelImageOptions.LockAspectRatio: Gets or sets whether the picture's aspect ratio is locked in Excel. Does not infer an omitted dimension.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { LockAspectRatio = value };    excelImageOptions.LockAspectRatio(value);
public static ExcelImageOptions Name(ExcelImageOptions excelImageOptions, string? value) #

Sets ExcelImageOptions.Name: Gets or sets the drawing name used by Excel's selection pane.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value string? required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Name = value };    excelImageOptions.Name(value);
public static ExcelImageOptions OffsetX(ExcelImageOptions excelImageOptions, OfficeLength value) #

Sets ExcelImageOptions.OffsetX: Gets or sets the exact horizontal offset of the starting cell marker, including signed native offsets.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { OffsetX = value };    excelImageOptions.OffsetX(value);
public static ExcelImageOptions OffsetY(ExcelImageOptions excelImageOptions, OfficeLength value) #

Sets ExcelImageOptions.OffsetY: Gets or sets the exact vertical offset of the starting cell marker, including signed native offsets.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { OffsetY = value };    excelImageOptions.OffsetY(value);
public static ExcelImageOptions Placement(ExcelImageOptions excelImageOptions, ExcelImagePlacement value) #

Sets ExcelImageOptions.Placement: Gets or sets how a two-cell anchor responds to cell moves and resizes.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value OfficeIMO.Excel.ExcelImagePlacement required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Placement = value };    excelImageOptions.Placement(value);
RemoteImageOptions 2 overloads
public static ExcelImageOptions RemoteImageOptions(ExcelImageOptions excelImageOptions, OfficeRemoteImageLoadOptions? value) #

Sets ExcelImageOptions.RemoteImageOptions: Gets or sets the existing network policy for HTTP or HTTPS image loading.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value OfficeIMO.Drawing.OfficeRemoteImageLoadOptions? required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { RemoteImageOptions = value };    excelImageOptions.RemoteImageOptions(value);
public static ExcelImageOptions RemoteImageOptions(ExcelImageOptions excelImageOptions, Action<OfficeRemoteImageLoadOptions> configure) #

Configures ExcelImageOptions.RemoteImageOptions in place (creating it when not set): Gets or sets the existing network policy for HTTP or HTTPS image loading.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
configure System.Action<OfficeIMO.Drawing.OfficeRemoteImageLoadOptions> required
Configures the value.

Returns

ExcelImageOptions The same instance.
public static ExcelImageOptions RotationDegrees(ExcelImageOptions excelImageOptions, double value) #

Sets ExcelImageOptions.RotationDegrees: Gets or sets the clockwise rotation in degrees.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value double required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { RotationDegrees = value };    excelImageOptions.RotationDegrees(value);
public static ExcelImageOptions ScalePercent(ExcelImageOptions excelImageOptions, double? value) #

Sets ExcelImageOptions.ScalePercent: Gets or sets a positive percentage of detected source dimensions. Cannot be combined with explicit dimensions or a range anchor.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value double? required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { ScalePercent = value };    excelImageOptions.ScalePercent(value);
public static ExcelImageOptions Title(ExcelImageOptions excelImageOptions, string? value) #

Sets ExcelImageOptions.Title: Gets or sets the alternative text title.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value string? required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Title = value };    excelImageOptions.Title(value);
public static ExcelImageOptions Width(ExcelImageOptions excelImageOptions, OfficeLength? value) #

Sets ExcelImageOptions.Width: Gets or sets the exact width. Omitted byte-image widths are 96 pixels; loaded sources use detected dimensions.

Parameters

excelImageOptions OfficeIMO.Excel.ExcelImageOptions required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

ExcelImageOptions The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Width = value };    excelImageOptions.Width(value);