ExcelImageScope
OfficeIMO.Excel
Edits one ExcelImage: its fluent methods and keywords, each returning this scope.
Inheritance
- object
- ExcelImageScope
Usage
Explore 13 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 12
- Method ExcelImageScope.AltText
- Method ExcelImageScope.CropRatio
- Method ExcelImageScope.Description
- Method ExcelImageScope.Flip
- Method ExcelImageScope.HyperlinkUri
- Method ExcelImageScope.Name
- Method ExcelImageScope.Rotation
- Method ExcelImageScope.RotationDegrees
- Method ExcelImageScope.Size
- Method ExcelImageScope.SizePercent
- Method ExcelImageScope.Title
- Method ExcelImageScope.TransparencyPercent
Accepted by parameters 1
- Method ExcelSheetScope.Image
Methods
public ExcelImageScope AltText(string description, string? title = null) #Sets image title and description metadata.
Parameters
- description string
- The value.
- title string? = null
- The value.
public ExcelImageScope CropRatio(double left, double top, double right, double bottom) #Sets image crop ratios, where 0 means no crop and 1 means the full source dimension.
Parameters
- left double
- The value.
- top double
- The value.
- right double
- The value.
- bottom double
- The value.
public ExcelImageScope Description(string value) #Sets ExcelImage.Description: Gets or sets the image alternative text description.
Parameters
- value string
- The value.
public ExcelImageScope Flip(bool horizontal, bool vertical) #Sets image flip transforms.
Parameters
- horizontal bool
- The value.
- vertical bool
- The value.
public ExcelImageScope HyperlinkUri(Uri? value) #Sets ExcelImage.HyperlinkUri: Gets or sets the picture's external hyperlink target. Null removes the click link. Targets are stored in the workbook and are never opened by OfficeIMO.
Parameters
- value System.Uri?
- The value.
public ExcelImageScope Name(string value) #Sets ExcelImage.Name: Gets or sets the image drawing name.
Parameters
- value string
- The value.
public ExcelImageScope Rotation(double degrees) #Sets clockwise image rotation in degrees.
Parameters
- degrees double
- Clockwise rotation in degrees. Fractional values are supported by DrawingML.
public ExcelImageScope RotationDegrees(double value) #Sets ExcelImage.RotationDegrees: Gets or sets clockwise image rotation in degrees.
Parameters
- value double
- The value.
public ExcelImageScope Size(OfficeLength width, OfficeLength height) #Sets the image size as a document length.
Parameters
- width OfficeIMO.OfficeLength
- The value.
- height OfficeIMO.OfficeLength
- The value.
public ExcelImageScope SizePercent(double percent) #Scales the image from its current size by the specified percentage.
Parameters
- percent double
- Percentage of the current image size. For example, 20 means 20%.
public ExcelImageScope Title(string value) #Sets ExcelImage.Title: Gets or sets the image title metadata.
Parameters
- value string
- The value.
public ExcelImageScope TransparencyPercent(int? value) #Sets ExcelImage.TransparencyPercent: Gets or sets DrawingML picture transparency from 0 through 100 percent. Null removes the explicit alpha transform.
Parameters
- value int?
- The value.
Inherited Methods
Properties
public ExcelImage Model { get; } #The ExcelImage this scope edits, for plain C# inside a lambda.