Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordImageScope

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
sealed

Edits one WordImage: its fluent methods and keywords, each returning this scope.

Inheritance

  • object
  • WordImageScope

Usage

Explore 60 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 56

Accepted by parameters 4

Methods

public WordImageScope AlphaInversionColor(OfficeColor? value) #

Sets WordImage.AlphaInversionColor: Gets or sets the color used when inverting alpha.

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope AltText(string? value) #

Sets WordImage.AltText: Gets or sets the image's alternative text.

Parameters

value string? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope BlackWhiteMode(WordImageBlackWhiteMode? value) #

Sets WordImage.BlackWhiteMode: Gets or sets the image's black-and-white mode.

Parameters

value OfficeIMO.Word.WordImageBlackWhiteMode? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope BlackWhiteThreshold(int? value) #

Sets WordImage.BlackWhiteThreshold: Gets or sets the threshold for the black-and-white effect as a percentage.

Parameters

value int? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope BlurGrow(bool? value = true) #

Sets WordImage.BlurGrow: Gets or sets whether the blur grows the image's bounds.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope BlurRadius(OfficeLength? value) #

Sets WordImage.BlurRadius: Gets or sets the image blur radius.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope ColorChangeFrom(OfficeColor? value) #

Sets WordImage.ColorChangeFrom: Gets or sets the source color to change.

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope ColorChangeTo(OfficeColor? value) #

Sets WordImage.ColorChangeTo: Gets or sets the replacement color in the color-change effect.

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope ColorReplacement(OfficeColor? value) #

Sets WordImage.ColorReplacement: Gets or sets the color used by the color-replacement effect.

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope CompressionQuality(WordImageCompressionQuality? value) #

Sets WordImage.CompressionQuality: Gets or sets the compression quality for embedded images.

Parameters

value OfficeIMO.Word.WordImageCompressionQuality? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope Crop(OfficeLength? left, OfficeLength? top, OfficeLength? right, OfficeLength? bottom) #

Applies all four physical source crops together, validating the frame and anchor before changing the image.

Parameters

left OfficeIMO.OfficeLength? required
The value.
top OfficeIMO.OfficeLength? required
The value.
right OfficeIMO.OfficeLength? required
The value.
bottom OfficeIMO.OfficeLength? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope CropBottom(OfficeLength? value) #

Sets WordImage.CropBottom: Gets or sets the crop from the bottom as a length of the original image height, before displayed scaling.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope CropBottomRatio(double? value) #

Sets WordImage.CropBottomRatio: Gets or sets the Bottom source crop as a fraction of the original image; one means its full dimension.

Parameters

value double? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope CropLeft(OfficeLength? value) #

Sets WordImage.CropLeft: Gets or sets the crop from the left as a length of the original image width, before displayed scaling.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope CropLeftRatio(double? value) #

Sets WordImage.CropLeftRatio: Gets or sets the Left source crop as a fraction of the original image; one means its full dimension.

Parameters

value double? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope CropRight(OfficeLength? value) #

Sets WordImage.CropRight: Gets or sets the crop from the right as a length of the original image width, before displayed scaling.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope CropRightRatio(double? value) #

Sets WordImage.CropRightRatio: Gets or sets the Right source crop as a fraction of the original image; one means its full dimension.

Parameters

value double? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope CropTop(OfficeLength? value) #

Sets WordImage.CropTop: Gets or sets the crop from the top as a length of the original image height, before displayed scaling.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope CropTopRatio(double? value) #

Sets WordImage.CropTopRatio: Gets or sets the Top source crop as a fraction of the original image; one means its full dimension.

Parameters

value double? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope DuotoneColor1(OfficeColor? value) #

Sets WordImage.DuotoneColor1: Gets or sets the first duotone color.

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope DuotoneColor2(OfficeColor? value) #

Sets WordImage.DuotoneColor2: Gets or sets the second duotone color.

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope FileName(string? value) #

Sets WordImage.FileName: Gets or sets the image's file name.

Parameters

value string? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope FilePath(string value) #

Sets WordImage.FilePath: Gets or sets the original source path.

Parameters

value string required
The value.

Returns

WordImageScope The same scope.
public WordImageScope FillMode(WordImageFillMode value) #

Sets WordImage.FillMode: Gets or sets how the image fills its bounding box.

Parameters

value OfficeIMO.Word.WordImageFillMode required
The value.

Returns

WordImageScope The same scope.
public WordImageScope FixedOpacity(int? value) #

Sets WordImage.FixedOpacity: Gets or sets the fixed image opacity as a percentage.

Parameters

value int? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope GrayScale(bool? value = true) #

Sets WordImage.GrayScale: Gets or sets whether the image is displayed in grayscale.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope Height(OfficeLength? value) #

Sets WordImage.Height: Gets or sets the displayed image height. Null means no height is stored.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope Hidden(bool? value = true) #

Sets WordImage.Hidden: Gets or sets whether the picture is hidden.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope HorizontalFlip(bool? value = true) #

Sets WordImage.HorizontalFlip: Gets or sets whether the image is horizontally flipped.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope HorizontalPositionOffset(OfficeLength? value) #

Sets WordImage.HorizontalPositionOffset: Gets or sets the horizontal image offset. Inline images have no page offset and return null.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope HorizontalPositionRelativeFrom(WordHorizontalRelativePosition value) #

Sets WordImage.HorizontalPositionRelativeFrom: Gets or sets the horizontal reference used by a floating image.

Parameters

value OfficeIMO.Word.WordHorizontalRelativePosition required
The value.

Returns

WordImageScope The same scope.
public WordImageScope LuminanceBrightness(int? value) #

Sets WordImage.LuminanceBrightness: Gets or sets the brightness adjustment.

Parameters

value int? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope LuminanceContrast(int? value) #

Sets WordImage.LuminanceContrast: Gets or sets the contrast adjustment.

Parameters

value int? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope MaximumWidth(OfficeLength width) #

Clamps the displayed width while retaining the image's other authoring properties.

Parameters

width OfficeIMO.OfficeLength required
The value.

Returns

WordImageScope The same scope.
public WordImageScope NoChangeAspect(bool? value = true) #

Sets WordImage.NoChangeAspect: Gets or sets whether the aspect ratio is locked.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope NoCrop(bool? value = true) #

Sets WordImage.NoCrop: Gets or sets whether cropping is locked.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope NoMove(bool? value = true) #

Sets WordImage.NoMove: Gets or sets whether moving is locked.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope NoResize(bool? value = true) #

Sets WordImage.NoResize: Gets or sets whether resizing is locked.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope NoRot(bool? value = true) #

Sets WordImage.NoRot: Gets or sets whether rotation is locked.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope NoSelect(bool? value = true) #

Sets WordImage.NoSelect: Gets or sets whether selection is locked.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope Paragraph(Action<WordParagraph> configure) #

Configures WordImage.Paragraph in place: Gets the paragraph containing this image occurrence.

Parameters

configure System.Action<OfficeIMO.Word.WordParagraph> required
Configures the value.

Returns

WordImageScope The same scope.
public WordImageScope PreferRelativeResize(bool? value = true) #

Sets WordImage.PreferRelativeResize: Gets or sets whether resizing is relative to the picture's original size.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope Rotation(int? value) #

Sets WordImage.Rotation: Gets or sets the image's rotation in degrees.

Parameters

value int? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope Shape(OfficePresetShapeType? value) #

Sets WordImage.Shape: Gets or sets the shape type used to display the image.

Parameters

value OfficeIMO.Drawing.OfficePresetShapeType? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope TintAmount(int? value) #

Sets WordImage.TintAmount: Gets or sets the tint amount.

Parameters

value int? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope TintHue(int? value) #

Sets WordImage.TintHue: Gets or sets the tint hue in degrees.

Parameters

value int? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope Title(string? value) #

Sets WordImage.Title: Gets or sets the image's title.

Parameters

value string? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope Transparency(int? value) #

Sets WordImage.Transparency: Gets or sets the transparency percentage from 0 to 100.

Parameters

value int? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope UseLocalDpi(bool? value = true) #

Sets WordImage.UseLocalDpi: Gets or sets whether rendering uses the image's local DPI setting.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope VerticalFlip(bool? value = true) #

Sets WordImage.VerticalFlip: Gets or sets whether the image is vertically flipped.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordImageScope The same scope.
public WordImageScope VerticalPositionOffset(OfficeLength? value) #

Sets WordImage.VerticalPositionOffset: Gets or sets the vertical image offset. Inline images have no page offset and return null.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope VerticalPositionRelativeFrom(WordVerticalRelativePosition value) #

Sets WordImage.VerticalPositionRelativeFrom: Gets or sets the vertical reference used by a floating image.

Parameters

value OfficeIMO.Word.WordVerticalRelativePosition required
The value.

Returns

WordImageScope The same scope.
public WordImageScope Width(OfficeLength? value) #

Sets WordImage.Width: Gets or sets the displayed image width. Null means no width is stored.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope WrapText(WordImageTextWrapping? value) #

Sets WordImage.WrapText: Gets or sets the image's text wrapping.

Parameters

value OfficeIMO.Word.WordImageTextWrapping? required
The value.

Returns

WordImageScope The same scope.
public WordImageScope ZOrder(uint value) #

Sets WordImage.ZOrder: Gets or sets the DrawingML anchor stacking order.

Parameters

value uint required
The value.

Returns

WordImageScope The same scope.

Properties

public WordImage Model { get; } #

The WordImage this scope edits, for plain C# inside a lambda.