PathEngine home previous: iContentChunk::numberOfConnectingEdges()next: iContentChunk::save()
Contents, API Reference, Interfaces, iContentChunk, preValidate

iContentChunk::preValidate()

Description

Validates the content chunk in advance for placement by iContentChunk::instantiate().

Syntax

bool preValidate(tSigned32 maximumScale, tSigned32 translationRange);

Parameters

maximumScaleThe maximum scaling value that will be applied. Must be >= 1.
translationRange The maximum value that will be applied for translation (in either x or y). Must be >= 0.

Return Value

If the chunk validates successfully then true is returned.
If validation fails then non-fatal errors will be emitted and false will be returned.

See Also

iContentChunk::instantiate()
Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEnginenext: iContentChunk::save()