API Reference
Class
OfficeDrawingImagePattern
Clipped repeating image pattern inside an OfficeDrawing canvas.
Inheritance
- OfficeDrawingElement
- OfficeDrawingImagePattern
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OfficeDrawing.ImagePatterns
Constructors
public OfficeDrawingImagePattern(Byte[] bytes, String contentType, OfficeImagePatternLayout layout, Int32 maximumTileCount = 16384, Double opacity = 1) #Creates a bounded image-pattern element.
Parameters
- bytes System.Byte[]
- contentType System.String
- layout OfficeIMO.Drawing.OfficeImagePatternLayout
- maximumTileCount System.Int32 = 16384
- opacity System.Double = 1
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Byte[] Bytes { get; } #Detached encoded source-image bytes.
public String ContentType { get; } #Normalized image media type, when available.
public OfficeImagePatternLayout Layout { get; } #Pattern area, origin tile, and repeat axes.
public Int32 MaximumTileCount { get; } #Maximum tile count accepted by expansion-based backends.
public Double Opacity { get; } #Element opacity from 0 transparent to 1 opaque.