Table of Contents

Class XlsxPictureOptions

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

What a picture added to a sheet is given: its size, how it follows the cells, its name and its alternative text.

public sealed class XlsxPictureOptions
Inheritance
XlsxPictureOptions
Inherited Members

Constructors

XlsxPictureOptions()

Properties

AlternativeText

Gets or sets the alternative text (the drawing's descr); null for none.

Height

Gets or sets the height; null as for Width.

KeepAspectRatio

Gets or sets whether a size given on one side alone gives the other in the image's proportions, and Excel keeps them when the picture is resized there. On by default.

Name

Gets or sets the picture's name; null for Excel's Picture N.

OffsetX

Gets or sets how far right of the cell's left edge the picture starts.

OffsetY

Gets or sets how far below the cell's top edge the picture starts.

Placement

Gets or sets how the picture follows the cells; Move by default, as Excel places a new picture.

Title

Gets or sets the title (the drawing's title); null for none.

Width

Gets or sets the width; null for the image's own (its pixels at 96 per inch), or for the height's share of it when KeepAspectRatio is set and only the height is given.