RtfImageFluent
OfficeIMO.Rtf
The fluent methods of RtfImage, 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
- RtfImageFluent
Methods
public static RtfImage CropBottomTwips(RtfImage rtfImage, int? value) #Sets RtfImage.CropBottomTwips: Unscaled twips cropped from the bottom edge. Negative values add space.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.CropBottomTwips = value; rtfImage.CropBottomTwips(value);public static RtfImage CropLeftTwips(RtfImage rtfImage, int? value) #Sets RtfImage.CropLeftTwips: Unscaled twips cropped from the left edge. Negative values add space.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.CropLeftTwips = value; rtfImage.CropLeftTwips(value);public static RtfImage CropRightTwips(RtfImage rtfImage, int? value) #Sets RtfImage.CropRightTwips: Unscaled twips cropped from the right edge. Negative values add space.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.CropRightTwips = value; rtfImage.CropRightTwips(value);public static RtfImage CropTopTwips(RtfImage rtfImage, int? value) #Sets RtfImage.CropTopTwips: Unscaled twips cropped from the top edge. Negative values add space.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.CropTopTwips = value; rtfImage.CropTopTwips(value);public static RtfImage Data(RtfImage rtfImage, byte[] value) #Sets RtfImage.Data: Raw image bytes.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value byte[]
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.Data = value; rtfImage.Data(value);public static RtfImage Description(RtfImage rtfImage, string? value) #Sets RtfImage.Description: Alternative text or description.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.Description = value; rtfImage.Description(value);public static RtfImage DesiredHeightTwips(RtfImage rtfImage, int? value) #Sets RtfImage.DesiredHeightTwips: Desired height in twips when present.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.DesiredHeightTwips = value; rtfImage.DesiredHeightTwips(value);public static RtfImage DesiredWidthTwips(RtfImage rtfImage, int? value) #Sets RtfImage.DesiredWidthTwips: Desired width in twips when present.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.DesiredWidthTwips = value; rtfImage.DesiredWidthTwips(value);public static RtfImage Format(RtfImage rtfImage, RtfImageFormat value) #Sets RtfImage.Format: Image format.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value OfficeIMO.Rtf.RtfImageFormat
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.Format = value; rtfImage.Format(value);public static RtfImage ScaleXPercent(RtfImage rtfImage, int? value) #Sets RtfImage.ScaleXPercent: Horizontal picture scale as a percentage. An omitted value means 100.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.ScaleXPercent = value; rtfImage.ScaleXPercent(value);public static RtfImage ScaleYPercent(RtfImage rtfImage, int? value) #Sets RtfImage.ScaleYPercent: Vertical picture scale as a percentage. An omitted value means 100.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.ScaleYPercent = value; rtfImage.ScaleYPercent(value);public static RtfImage SourceHeight(RtfImage rtfImage, int? value) #Sets RtfImage.SourceHeight: Original height in pixels when present.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.SourceHeight = value; rtfImage.SourceHeight(value);public static RtfImage SourceWidth(RtfImage rtfImage, int? value) #Sets RtfImage.SourceWidth: Original width in pixels when present.
Parameters
- rtfImage OfficeIMO.Rtf.RtfImage
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
rtfImage.SourceWidth = value; rtfImage.SourceWidth(value);