PsdFrameExtensions.ToGraphicsContainer Method (PsdSmartFrame, GraphicsContainer, ResizeMode, InterpolationMode)

Converts a PSD smart frame to a graphics container, using the given graphics container as the content of the smart object.

Namespace: Aurigma.GraphicsMill.Templates
Assembly: Aurigma.GraphicsMill.Templates (in Aurigma.GraphicsMill.Templates.dll)

Syntax

C#
public static GraphicsContainer ToGraphicsContainer(
	this PsdSmartFrame smartFrame,
	GraphicsContainer content,
	ResizeMode resizeMode,
	InterpolationMode interpolationMode
)

Parameters

smartFrame

Type: Aurigma.GraphicsMill.Codecs.Psd.PsdSmartFrame

The PSD smart frame to convert.
content

Type: Aurigma.GraphicsMill.Drawing.GraphicsContainer

The GraphicsContainer that replaces the content of the smart object.
resizeMode

Type: Aurigma.GraphicsMill.Transforms.ResizeMode

The resize mode.
interpolationMode

Type: Aurigma.GraphicsMill.Transforms.InterpolationMode

The interpolation mode. The default value is High.

Return Value

A GraphicsContainer instance.

See Also

Reference