TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

RenderWatermarkToStorageId Method

Renders watermarks to the storage.

Namespace: Aurigma.DesignAtoms.Rendering
Assembly: Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)

Syntax

C#
public string RenderWatermarkToStorageId(
	RenderingConfig renderingConfig,
	WatermarkConfig watermarkConfig,
	int width,
	int height,
	out int renderedWidth,
	out int renderedHeight
)

Parameters

renderingConfig

Type: Aurigma.DesignAtoms.Configuration.RenderingConfig.RenderingConfig

Rendering properties. You can pass null to use the dafault configuration.
watermarkConfig

Type: Aurigma.DesignAtoms.Configuration.WatermarkConfig

Watermark properties. For details, you can refer to the Watermarks topic.
width

Type: System.Int32

The width of the rendered image, in pixels.
height

Type: System.Int32

The height of the rendered image, in pixels.
renderedWidth

Type: System.Int32 %

The width of the rendered image, in pixels.
renderedHeight

Type: System.Int32 %

The height of the rendered image, in pixels.

Return Value

An ID of the rendered watermark.

See Also

Reference

Manual