 | 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
Syntaxpublic 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
)
Public Shared Sub IJustify (
in_str As String,
ByRef out_str As String,
width As Integer,
just As Integer,
length As Integer
)
Public Shared Sub IJustify (
in_str As String,
ByRef out_str As String,
width As Integer,
just As Integer,
length As Integer
)
public:
static void IJustify(
String^ in_str,
String^% out_str,
int width,
int just,
int length
)
public:
static void IJustify(
String^ in_str,
String^% out_str,
int width,
int just,
int length
)
static member IJustify :
in_str : string *
out_str : string byref *
width : int *
just : int *
length : int -> unit
static member IJustify :
in_str : string *
out_str : string byref *
width : int *
just : int *
length : int -> unit
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