This documentation is for the old version. Go to the latest Graphics Mill docs

CustomFrame.InitializeCustomFrameTU Method

Initializes the frame with provided settings.

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

Syntax

Visual Basic
Public Sub InitializeCustomFrameTU ( _
	name As String, _
	left As Integer, _
	top As Integer, _
	width As Integer, _
	height As Integer, _
	pixelFormat As PixelFormat, _
	horizontalResolution As Single, _
	verticalResolution As Single, _
	colorProfile As ColorProfile _
)
C#
public void InitializeCustomFrameTU(
	string name,
	int left,
	int top,
	int width,
	int height,
	PixelFormat pixelFormat,
	float horizontalResolution,
	float verticalResolution,
	ColorProfile colorProfile
)

Parameters

name

Type: System.String

Frame name.
left

Type: System.Int32

X-coordinate of the left top corner of the frame (in pixels).
top

Type: System.Int32

Y-coordinate of the left top corner of the frame (in pixels).
width

Type: System.Int32

Frame width.
height

Type: System.Int32

Frame height.
pixelFormat

Type: Aurigma.GraphicsMill.PixelFormat

Pixel format for the frame bitmap.
horizontalResolution

Type: System.Single

Horizontal resolution of the frame bitmap.
verticalResolution

Type: System.Single

Vertical resolution of the frame bitmap.
colorProfile

Type: Aurigma.GraphicsMill.ColorProfile

Frame color profile.

Remarks

This method should be called from the LoadFrameParameters().

Use protected thread-unsafe versions of xxxTU properties instead of the public ones (without TU postfix) inside of the code of your custom codec. You should use to avoid deadlocks during multithreaded calls.

See Also

Reference