You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

RenderProof Method (Surface, RenderingConfig, Nullable(Size), Nullable())

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · Archived documentation

Renders a Surface to the file cache.

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

Syntax

C#
public string RenderProof(
	Surface surface,
	RenderingConfig renderingConfig,
	Nullable<Size> maxSize,
	Nullable<ResizeMode> resizeMode
)

Parameters

surface

Type: Aurigma.DesignAtoms.Model.Surface

A Surface to render.
renderingConfig

Type: Aurigma.DesignAtoms.Configuration.RenderingConfig.RenderingConfig

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

Type: System.Nullable<Size>

The width and height of the rendered proof image, in pixels. By default, proof images are 500 x 500 pixels.
resizeMode

Type: System.Nullable<ResizeMode>

Defines how the proof image should appear in the specified bounds. For the values, you can refer to the ResizeMode enumeration.

Return Value

An identifier of the proof image of the specified Surface.

See Also

Reference

Manual