Class ImageView
Image viewer renderable
Inheritance
Inherited Members
Namespace
Syntax
public class ImageView : GraphicalCyclicWriter
Constructors
ImageView()
Makes a new instance of the image renderer
Declaration
public ImageView()
ImageView(MagickImage)
Makes a new instance of the image renderer
Declaration
public ImageView(MagickImage image)
Parameters
| Name | Type | Description |
|---|---|---|
| image | MagickImage | Image to use |
Properties
BackgroundColor
Background color of the image, overriding any transparency
Property Value
Color
Declaration
public Color? BackgroundColor { get; set; }
ColumnOffset
Specifies a zero-based column offset
Property Value
int
Declaration
public int ColumnOffset { get; set; }
Fit
Whether to stretch the image or to render as is?
Property Value
bool
Declaration
public bool Fit { get; set; }
Height
Right margin of the image
Property Value
int
Declaration
public override int Height { get; set; }
Overrides
Image
An image to render
Property Value
MagickImage
Declaration
public MagickImage Image { get; set; }
RowOffset
Specifies a zero-based row offset
Property Value
int
Declaration
public int RowOffset { get; set; }
UsePositioning
Whether to use positioning or not?
Property Value
bool
Declaration
public bool UsePositioning { get; set; }
Width
Left margin of the image
Property Value
int
Declaration
public override int Width { get; set; }
Overrides
Methods
Render()
Renders an image
Returns
string
Rendered image that will be used by the renderer
Declaration
public override string Render()