• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PictureFill

Represents a PictureFill.

Inheritance
object
PictureFill
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class PictureFill

Properties

RotateWithShape

Gets or sets rotate with shape.

Declaration
public bool RotateWithShape { get; set; }
Property Value
Type Description
bool

Stretch

Gets stretch.

Declaration
public Stretch Stretch { get; }
Property Value
Type Description
Stretch

Tile

Gets tile.

Declaration
public Tile Tile { get; }
Property Value
Type Description
Tile

TilePictureAsTexture

Gets or sets whether the picture is tiled (repeated horizontally and vertically to fill the shape).

Declaration
public bool TilePictureAsTexture { get; set; }
Property Value
Type Description
bool

Transparency

Gets or sets transparency.

Declaration
public double Transparency { get; set; }
Property Value
Type Description
double

Methods

GetImageBytes()

Gets the raw embedded image bytes, when available.

Declaration
public byte[] GetImageBytes()
Returns
Type Description
byte[]

The embedded image bytes, or null.

SetImageBytes(byte[], string)

Sets raw embedded image bytes for this picture fill.

Declaration
public void SetImageBytes(byte[] bytes, string extension = ".png")
Parameters
Type Name Description
byte[] bytes

The image bytes.

string extension

The image extension, including the leading dot.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX