Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeImageLayer

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Describes one positioned raster or SVG layer in a composed dependency-free image.

Inheritance

  • Object
  • OfficeImageLayer

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

public static OfficeImageLayer FromRaster(OfficeRasterImage rasterImage, Double x, Double y, Double width, Double height) #
Returns: OfficeImageLayer

Creates a positioned raster image layer.

Parameters

rasterImage OfficeIMO.Drawing.OfficeRasterImage requiredposition: 0
x System.Double requiredposition: 1
y System.Double requiredposition: 2
width System.Double requiredposition: 3
height System.Double requiredposition: 4
public static OfficeImageLayer FromSvgInner(String svgInnerContent, Double x, Double y, Double width, Double height) #
Returns: OfficeImageLayer

Creates a positioned SVG layer from inner SVG markup.

Parameters

svgInnerContent System.String requiredposition: 0
x System.Double requiredposition: 1
y System.Double requiredposition: 2
width System.Double requiredposition: 3
height System.Double requiredposition: 4

Properties

public Double X { get; } #

Layer x-coordinate in output pixels or SVG user units.

public Double Y { get; } #

Layer y-coordinate in output pixels or SVG user units.

public Double Width { get; } #

Layer width in output pixels or SVG user units.

public Double Height { get; } #

Layer height in output pixels or SVG user units.

public OfficeRasterImage RasterImage { get; } #

Raster image to draw when composing PNG output.

public String SvgInnerContent { get; } #

Inner SVG markup to nest when composing SVG output.