Click or drag to resize

CSTRIJustify Method (String, String, Int32, Int32, Int32)

Justify a string

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void IJustify(
	string in_str,
	ref string out_str,
	int width,
	int just,
	int length
)

public static void IJustify(
	string in_str,
	ref string out_str,
	int width,
	int just,
	int length
)

Parameters

in_str
Type: SystemString
String to justify
out_str
Type: SystemString
Result string, can be same as input
width
Type: SystemInt32
Justification width
just
Type: SystemInt32
<define>STR_JUSTIFY</define>
length
Type: SystemInt32
Maximum size of result
Remarks
If the string is too big to fit in the number of display characters, the output string will be "**" justified as specified.
See Also