KitchenDraw SDK 2
Show / Hide Table of Contents

Method TrySetInfo

TrySetInfo(int, double)

Writes the value to the arbitrary datafield specified by the infoType parameter.

Declaration
protected bool TrySetInfo(int infoType, double value)
Parameters
Type Name Description
int infoType

Datafield to set.

double value

Value to set.

Returns
Type Description
bool

true of no error occurred, false otherwise.

Remarks

This method is only useful for developing additional SDK layers working with some custom datafields which are not exposed through properties of this class yet. You should not use these functions unless you know exactly what you are doing.

TrySetInfo(int, string)

Writes the value to the arbitrary datafield specified by the infoType parameter.

Declaration
protected bool TrySetInfo(int infoType, string value)
Parameters
Type Name Description
int infoType

Datafield to set.

string value

Value to set.

Returns
Type Description
bool

true of no error occurred, false otherwise.

Remarks

This method is only useful for developing additional SDK layers working with some custom datafields which are not exposed through properties of this class yet. You should not use these functions unless you know exactly what you are doing.

In this article
Back to top Generated by DocFX