SharpLeaf Reference > ImageBlock : PageElement Class

ImageBlock : PageElement Class

Picture to add to a page layout. Image can optionally be scaled or stretched to fit a bounding box.

public class ImageBlock : PageElement


ImageBlock Instance Properties

FilenameFile name to use for embedding at report creation time (Raster formats and PS and PDF)
StretchStretch image to fix bounding box exactly (false by default) (observed only if both width and height are non-zero)
UrlURL to point at display time to for web formats (SVG and XAML)

ImageBlock Methods

CloneTake a deep copy of an ImageBlock instance
GetCoordinatesGet the coordinates of the image
RenderXmlXML description of the ImageBlock
SetCoordinatesSet the position and size of the image
ToStringReadable summary of ImageBlock detail


Namespace: Causeway

Assembly: SharpPlot (in sharpplot.dll)

Send comments on this topic
© Dyalog Ltd 2021